当我使用 (doxia-module-markdown)[http://maven.apache.org/doxia/doxia/doxia-modules/doxia-module-markdown] 创建一个 maven 站点并且 .md 文件具有与 & 符号的链接时在错误消息中。示例.md:
# Getting Started
## Now
1. goto [google] (https://www.google.com/?gws_rd=cr&q=test+site:com)
2. or goto <https://www.google.com/?gws_rd=cr&q=test+site:com>
错误信息:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.3:site (default-site) on project test: Error during page generation: Error parsing 'xxx\projects\test\src\site\markdown\not_working.md': line [3] Error parsing the model: entity reference name can not contain character =' (position: TEXT seen ...<a href="https://www.google.com/?gws_rd=cr&q=... @3:57) -> [Help 1]
一旦我删除&符号,错误就会消失。