How can I put a HTML comments into the block?
I've tried in normal way:

<!-- something -->

But it's visible.
It's very weird.
For me Full HTML should be Full HTML without appearing and disappearing or some magic translations (#362361: Drupal changing my form in block even I've got Full HTML).
Instead of pasting the proper Raw HTML code you are spending time on converting it to "Drupal-HTML".
Any suggestions how to make a comment in block?

Comments

ainigma32’s picture

Status: Active » Postponed (maintainer needs more info)

Apart from the solution I posted in #362361: Drupal changing my form in block even I've got Full HTML you can also go to admin/settings/filters and edit the filter you are using. try turning off some of the filters that are active within that input filter.

Please post back if that works for you.

- Arie

kenorb’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)
kenorb’s picture

Status: Closed (duplicate) » Active
ainigma32’s picture

Status: Active » Postponed (maintainer needs more info)

@kenorb: Did you het this resolved or are you sill experiencing this problem?

- Arie

kenorb’s picture

Status: Postponed (maintainer needs more info) » Active

Yes, still and it's annoying;/
I'm pasting some ready-made html code, selecting full HTML and I see only comments.
Example block:

<div style="display:block; width:187px; height:235px;font-family:Verdana, Arial, Helvetica, sans-serif;background:url(http://www.tfl.gov.uk/tfl/gettingaround/journeyplanner/banners/images/jp-panel.gif) #fff no-repeat; font-size:90%;"><div style="display:block;padding:35px 15px 15px 15px;"><strong style="color: rgb(36, 66, 102); text-align: center; display: block;">Journey Planner</strong><form action="http://journeyplanner.tfl.gov.uk/user/XSLT_TRIP_REQUEST2" id="jpForm" method="post" target="tfl" style="margin:5px 0 0 0 !important;padding:0 !important;"><input type="hidden" name="language" value="en" /> <!-- in language = english --><input type="hidden" name="execInst" value="" /> <input type="hidden" name="sessionID" value="0" /> <!-- to start a new session on JP the sessionID has to be 0 --> <input type="hidden" name="ptOptionsActive" value="-1" /> <!-- all pt options are active -->  <input type="hidden" name="place_origin" value="London" /> <!-- London is a hidden parameter for the origin location -->  <input type="hidden" name="place_destination" value="London" /><div><input type="text"  name="name_origin" style="width:155px !important;" value="From"/></div><div><select style="width:155px !important;" name="type_origin"><option value="stop">Station or stop</option><option value="locator">Postcode</option><option value="address">Address</option><option value="poi">Place of interest</option></select><input type="text" name="name_destination" style="width:155px !important;" value="Enter destination"/></div><div><select style="width:155px !important;" name="type_destination"><option selected="selected" value="stop">Station or stop</option><option  value="locator">Postcode</option><option value="address" >Address</option><option  value="poi">Place of interest</option></select></div><input type="submit" title="Leave now" value="Leave now"   style="width:155px !important;"/><div style="margin-top:5px;text-align:center;"><a style="text-decoration:none; color:#113B92;font-size:90%;background:#fffbfc;white-space:nowrap;" target="tfl" href="http://journeyplanner.tfl.gov.uk/user/XSLT_TRIP_REQUEST2?language=en&amp;ptOptionsActive=1"  onclick="javascript:document.getElementById('jpForm').ptOptionsActive.value='1';document.getElementById('jpForm').execInst.value='readOnly';document.getElementById('jpForm').submit(); return false">Advanced options</a></div></form></div></div>
kenorb’s picture

Component: block.module » filter.module
Category: support » bug

It's Filter issue. I've disabled all filters apart of 'URL filter'.
Probably the whole argoritm of URL filtering should be rewrited (#362629: URL Filter doesn't make links if the chars are international).
Update: And the same situation when activated 'HTML corrector'.

neochief’s picture

Status: Active » Closed (duplicate)