[Issue 1889] New: Ddoc and <br>
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Mar 3 03:39:22 PST 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1889
Summary: Ddoc and <br>
Product: D
Version: 1.027
Platform: PC
OS/Version: Windows
Status: NEW
Severity: major
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: samukha at voliacable.com
The decision to implicitly convert more than one successive new lines to <br>
tags doesn't seem quite right. If you are using P or another custom macro to
separate paragraphs (which is arguably more correct than using plain <br>'s)
the generated layout gets corrupted by the unasked-for line breaks:
/**
$(P Paragraph)
$(P Paragraph)
*/
<br><br> after the first paragraph is absolutely unwelcome in the generated
HTML.
Of course, you could workaround that by leaving out the extra line break,
but it is really undesirable because then long paragraphs are not visually
separated in the source code:
/**
$(P Mess)
$(P Mess 2)
*/
Another example. You might want to visually separate table rows in source code:
/**
$(TABLE
$(TR
$(TD)
$(TD)
)
$(TR
$(TD)
$(TD)
)
)
*/
Is there a way to avoid <br><br> after </tr> in the generated HTML?
--
More information about the Digitalmars-d-bugs
mailing list