Skip to content
Open
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ help-deprecated-annotation-only:test

MOJO-DESCRIPTION. Some "quotation" marks and backslashes '\\', some important
javadoc
and an inline link to test.AnotherMojo.
and an inline link to test.AnotherMojo .

Available parameters:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ help-jdk11:test

MOJO-DESCRIPTION. Some "quotation" marks and backslashes '\\', some important
javadoc
and an inline link to test.AnotherMojo.
and an inline link to test.AnotherMojo .
Copy link
Member

Choose a reason for hiding this comment

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

The additional space looks wrong.

Copy link
Member

Choose a reason for hiding this comment

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

but makes that the test pass

Copy link
Member

Choose a reason for hiding this comment

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

Right, that points at a regression in jsoup as that conversion is done by it.


Available parameters:

Expand Down
2 changes: 1 addition & 1 deletion maven-plugin-plugin/src/it/help-basic/expected-help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ help:test

MOJO-DESCRIPTION. Some "quotation" marks and backslashes '\\', some important
javadoc
and an inline link to test.AnotherMojo.
and an inline link to test.AnotherMojo .

Available parameters:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class JavadocBlockTagsToXhtmlConverterTest {
@Test
void testSee() {
assertEquals(
"<br /><strong>See also:</strong> \"Some reference\"",
"<br />\n<strong>See also:</strong> \"Some reference\"",
converter.convert("see", "\"Some reference\"", context));
assertEquals(
", <a href=\"example.com\">Example</a>",
Expand All @@ -57,7 +57,7 @@ void testSee() {
ConverterContext context2 =
new SimpleConverterContext("my.package", URI.create("https://javadoc.example.com/"));
assertEquals(
"<br /><strong>See also:</strong> <a href=\"example.com\">Example</a>",
"<br />\n<strong>See also:</strong> <a href=\"example.com\">Example</a>",
converter.convert("see", "<a href=\"example.com\">Example</a>", context2));
}

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@
<dependency>
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
<version>1.18.1</version>
<version>1.21.2</version>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
Expand Down