Browse Source

Merge pull request #43622 from ngocnhan-tran1996

* pr/43622:
  Polish "Handle <p> in Maven Plugin Reference documentation"
  Handle <p> in Maven Plugin Reference documentation

Closes gh-43622
pull/43904/head
Stéphane Nicoll 12 months ago
parent
commit
45813cb29c
  1. 3
      buildSrc/src/main/java/org/springframework/boot/build/mavenplugin/PluginXmlParser.java

3
buildSrc/src/main/java/org/springframework/boot/build/mavenplugin/PluginXmlParser.java

@ -1,5 +1,5 @@
/* /*
* Copyright 2012-2023 the original author or authors. * Copyright 2012-2024 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -116,6 +116,7 @@ class PluginXmlParser {
.replace("&lt;", "<") .replace("&lt;", "<")
.replace("&gt;", ">") .replace("&gt;", ">")
.replace("<br>", " ") .replace("<br>", " ")
.replace("<p>", " ")
.replace("\n", " ") .replace("\n", " ")
.replace("&quot;", "\"") .replace("&quot;", "\"")
.replaceAll("\\{@code (.*?)}", "`$1`") .replaceAll("\\{@code (.*?)}", "`$1`")

Loading…
Cancel
Save