Microdown icon indicating copy to clipboard operation
Microdown copied to clipboard

MicHTMLVisitor >> visitBold: aBoldText

Open matijakljajic opened this issue 1 year ago • 2 comments

This method creates <strong> instead of the <b> tag. The Foliage Visitor uses <b>.

I'm creating an issue instead of a PR because I don't know what was in mind here. For the Italics Visitor, you create the <i> tag instead of the <em> tag.

As it currently isn't consistent, it all depends if we want to have stylistic or semantic tagging?

I believe that <strong> and <em> would be more semantically correct for HTML generation type of system instead of <b> and <i> as semantics and style should, in theory at least, be separate.

matijakljajic avatar Feb 18 '25 11:02 matijakljajic

good remark Thanks matija.

Ducasse avatar Feb 18 '25 21:02 Ducasse

I wonder what could be impact on CSS. else I would prefer a semantic marking.

Ducasse avatar Feb 18 '25 21:02 Ducasse