Download & Extend

Code Filter should not strip HTML <!--comments-->

Project:Code Filter
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

The Code Filter module currently strips HTML comments from between the <code></code> tags. This can be confusing, as it may be important to annotate HTML using comments inside code blocks.

To see the module removing HTML comments, please see my issue for filter.module: #343236: HTML corrector encodes (entifies) <!--break--> tag. Note how the text "<!--break-->" was stripped from between the <code></code> tags.

Comments

#1

#2

Status:active» closed (duplicate)

#222926: HTML Corrector filter escapes HTML comments

nobody click here