markdown parser is stripping HTML

Fergal's Avatar

Fergal

10 Sep, 2013 10:31 AM

Hi,

I was trying to get some line breaks using <br> tags in a readme.md file, but the parser strips them out. Even if I have an indented code block with HTML tags in it, these tags get stripped out.

HTML is support in the markdown spec and if HTML is inside a code block, it should get encoded.

  1. Support Staff 1 Posted by Anton Gogolev on 16 Sep, 2013 02:23 PM

    Anton Gogolev's Avatar

    Fred,

    Thanks for the bug report. I'll investigate this further.

    On 10.09.2013, at 13:33, "Fergal" <[email blocked]> wrote:

  2. Support Staff 2 Posted by Anton Gogolev on 23 Sep, 2013 10:46 AM

    Anton Gogolev's Avatar

    Fred,

    Could you please provide me with a sample of a readme file that HgLab strips tags from?

  3. 3 Posted by Fergal on 23 Sep, 2013 04:23 PM

    Fergal's Avatar

    Anton,

    See attached file.

    If you paste the contents into this online editor you'll see the desired output:
    http://dillinger.io/

    Hglab strips all the html tags

  4. 4 Posted by Fergal on 13 Jan, 2014 02:07 PM

    Fergal's Avatar

    Has this been fixed in the final release? Will definitely purchase if it has.

  5. Support Staff 5 Posted by Anton Gogolev on 13 Jan, 2014 10:40 PM

    Anton Gogolev's Avatar

    Fred,

    My apologies. This is fixed in 1.1, which will be available this week.

    Thanks for waiting!

  6. Support Staff 6 Posted by Anton Gogolev on 14 Jan, 2014 03:29 PM

    Anton Gogolev's Avatar

    Aaaand it's here.

  7. Anton Gogolev closed this discussion on 14 Jan, 2014 03:29 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? 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

Recent Discussions

28 Mar, 2022 04:42 PM
21 Jan, 2022 10:43 AM
20 Jan, 2022 10:45 AM
18 Jan, 2022 10:15 AM
19 Mar, 2021 06:13 PM

 

01 Mar, 2021 02:51 PM
01 Jan, 2021 02:19 AM
28 Aug, 2020 08:34 AM
23 Jun, 2020 08:29 AM
19 Dec, 2019 06:58 AM
21 Aug, 2019 09:07 AM