[
https://issues.apache.org/jira/browse/MSKINS-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17900679#comment-17900679
]
Konrad Windszus commented on MSKINS-258:
----------------------------------------
The problem is really that the HTMLmarkdown differs a lot between APT and MD
sources for semantically the same thing. Also
{code}
<pre><code class="nocode... ">
{code}
(as emitted by parsed MD) is obviously very bad HTML markup, but unfortunately
I don't see any other easy way how to do it with Flexmark...
> Markdown: Fenced code without language specifier incorrectly formatted by
> Fluido skin
> -------------------------------------------------------------------------------------
>
> Key: MSKINS-258
> URL: https://issues.apache.org/jira/browse/MSKINS-258
> Project: Maven Skins
> Issue Type: Bug
> Affects Versions: fluido-2.0.0
> Reporter: Konrad Windszus
> Assignee: Konrad Windszus
> Priority: Major
>
> Due to the Flexmark option {{FENCED_CODE_NO_LANGUAGE_CLASS}} being set to
> {{nohighlight nocode}} in
> https://github.com/apache/maven-doxia/blob/master/doxia-modules/doxia-module-markdown/src/main/java/org/apache/maven/doxia/module/markdown/MarkdownParser.java#L152
> every fenced code without an [info
> string|https://spec.commonmark.org/0.31.2/#info-string] is emitted by Doxia as
> {code}
> <pre><code class="nohighlight nocode">
> ...
> </code></pre>
> {code}
> This is converted by Fluido operations to
> {code}
> <pre class="prettyprint linenums"><code class="nohighlight nocode">
> ...
> </code></pre>
> {code}
> which in turn is incorrectly formatted by Fluido 2.0, printing only a line
> number for the first line.
> Example in
> https://maven.apache.org/developers/release/maven-core-release.html, with its
> markdown at
> https://github.com/apache/maven-site/blob/6be27cb3b9c703772fb6837f27ec8547d840639b/content/markdown/developers/release/maven-core-release.md?plain=1#L26-L43
--
This message was sent by Atlassian Jira
(v8.20.10#820010)