problems with "less than"

hendrik's Avatar


10 Aug, 2009 08:11 AM


when using a less than (i.e. <) verbatim (i.e. not the HTML entity) in a discussion entry, it is not escaped when that entry is displayed in the web interface. I.e. everything that follows disappears, as the browser thinks an HTML element/tag is about to start...

Any solution to this?



  1. 1 Posted by Kyle Neath (Git... on 10 Aug, 2009 09:51 PM

    Kyle Neath (GitHub Staff) 's Avatar

    Can't say I follow Hendrik,

    We definitely escape all entities. For example: <

    Do you have an example of where this is happening?

  2. 2 Posted by hendrik on 10 Aug, 2009 10:26 PM

    hendrik's Avatar


    sure, my first answer to


    kill -QUIT

    The is not visible anymore in the web view.


  3. 3 Posted by hendrik on 11 Aug, 2009 09:23 AM

    hendrik's Avatar

    and as you can see in the attached screenshot, the 'pid' in angle brackets after "kill -QUIT" is gone... Actually, looking at the HTML source, it's completely gone, not only not escaped.


  4. 4 Posted by rick on 11 Aug, 2009 06:41 PM

    rick's Avatar

    Actually, markdown (the text formatter we use) allows extra html tags. You can put custom <div> and <table> tags in there. They're not escaped as &lt; characters.

    You'll have to write those segments in code. You can do this with the tilde character, or by indenting a paragraph at least 4 spaces.

    foo bar `<baz>`
  5. 5 Posted by Kyle Neath (Git... on 11 Aug, 2009 07:15 PM

    Kyle Neath (GitHub Staff) 's Avatar

    My guess is what's happening is Markdown is catching the autolinker. For example: <> -> and <[email blocked]> -> [email blocked]

    You can toggle the text formatting on a post-by-post basis by clicking edit (there's a checkbox to remove Markdown).

  6. 6 Posted by hendrik on 12 Aug, 2009 09:08 AM

    hendrik's Avatar

    Thanks. That helps.

Discussions are closed to public comments.
If you need help with Tender please start a new discussion.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac