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
This commit is contained in:
Stéphane Nicoll 2024-12-28 10:25:29 +01:00
commit 45813cb29c
1 changed files with 2 additions and 1 deletions

View File

@ -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");
* you may not use this file except in compliance with the License.
@ -116,6 +116,7 @@ class PluginXmlParser {
.replace("&lt;", "<")
.replace("&gt;", ">")
.replace("<br>", " ")
.replace("<p>", " ")
.replace("\n", " ")
.replace("&quot;", "\"")
.replaceAll("\\{@code (.*?)}", "`$1`")