Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions views/todo.ejs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
from sant<!DOCTYPE html>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Remove stray text before DOCTYPE to avoid Quirks Mode and unintended page content.

Any characters before the DOCTYPE trigger Quirks Mode in browsers and will render “from sant” on the page.

Apply this minimal fix:

- from sant<!DOCTYPE html>
+<!DOCTYPE html>
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
from sant<!DOCTYPE html>
<!DOCTYPE html>
🤖 Prompt for AI Agents
In views/todo.ejs around lines 1 to 1, there is stray text "from sant" before
the <!DOCTYPE html> which triggers Quirks Mode and renders unintended content;
remove any characters or text occurring before the DOCTYPE declaration so the
file starts exactly with <!DOCTYPE html> (ensure no BOM or whitespace precedes
it) to restore standards mode and prevent the stray text from appearing.

<html lang="en">
<head>
<title>Todo List APP test</title>
Expand Down Expand Up @@ -89,7 +89,7 @@
</head>

<body>
<h1>Hello Junoon Batch 8 (Jenkins), Write your plan on Learning Jenkins</h1>
<h1>Hello from santosh kumar, Write your plan on Learning Jenkins</h1>
<ul>
<% todolist.forEach(function(todo, index) { %>
<li>
Expand Down