Removing <!--kg-card-begin:--> HTML Comments

Hello there!

Since Ghost does not really allow any Class-attribution to paragraphs, I’m building posts with HTML Blocks. They’re fine and all is good, but the HTML comments are really bugging me, and seemingly have no apparent use — and should definitely not be part of any live/production site.

Therefore my question: Bug or Feature? And if feature: what is their function? And why is there no possibility to remove them?

Thanks for any help!

Those comments are used by the parser in order to aid in the conversion between html and mobiledoc :slight_smile:

1 Like