8000 "double emphasis" bug when converting to asciidoc · Issue #7803 · jgm/pandoc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
"double emphasis" bug when converting to asciidoc #7803
Closed
@tx-pandoc

Description

@tx-pandoc

(Creating bug report as suggested by John on pandoc-discuss on Tue, 04 Jan 2022 19:17:42 -0800)

Description
In some cases when doing HTML to asciidoc conversion with pandoc it creates wrongly "intraword emphasis" instead of simple "emphasis". (And this in turn seems to trigger also a bug in asciidoc when creating Docbook XML.)

Example:
<a href=x.htm><i>Xx</i></a><i>,</i>
... will be converted to...
link:x.htm[_Xx_]__,__

Versions used
pandoc 2.16.2 (macOS ports)
asciidoc 9.1.0

More details
I created a few test cases and collected the results in a simple CSV table.

double-emphasis-test-results.csv
double-emphasis-test-results

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0