-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Description
The mulit-line string formatting is broken.
This multi-line string
"""
<div class="member-signature"><span class="annotations">@Generated(value="SomeGeneratedName",
date="a date",
comments="some comment about the method below")
</span><span class="modifiers">public static</span> <span class="return-typ\
e">void</span> <span class="element-name">annotatedMethod</span><wbr><span \
class="parameters">(int i,
java.lang.String s,
boolean b)</span></div>"""
gets formatted to
"""
<div class="member-signature"><span class="annotations">@Generated(value="SomeGeneratedName",
date="a date",
comments="some comment about the method below")
</span><span class="modifiers">public static</span> <span class="return-typ\
e">void</span> <span class="element-name">annotatedMethod</span><wbr><span \
class="parameters">(int i,
java.lang.String s,
boolean b)</span></div>""",
As eagle-eyed persons will notice, this destroys the indentation completely.
From the looks of it, this formatting is done using a simple trim() on each line.
This should be fixed since this is a destructive error where the content is actually ruined.
talios
Metadata
Metadata
Assignees
Labels
No labels