gomarkdown / markdown

markdown parser and HTML renderer for Go
Other
1.41k stars 173 forks source link

Word containing two underscored result in Italic style #233

Closed DenisDuev closed 2 years ago

DenisDuev commented 2 years ago

For example having a word_contains_underscore:

<p>
  word_contains_underscore
</p>
<p>
  word<em>contains</em>underscore
</p>

See Babelmark

ivanspasov99 commented 2 years ago

Same problem here @kjk

miekg commented 2 years ago

parser.NoIntraEmphasis https://github.com/gomarkdown/markdown/blob/master/parser/parser.go#L22