Inserted HTML instead of abbreviations in the block code #32

Closed
Sorbing opened this Issue Jun 29, 2012 · 8 comments

Comments

Projects
None yet
3 participants

Sorbing commented Jun 29, 2012

Instead of a string "HTML" - put in a html tag ABBR:
Screen with bug

Owner

michelf commented Jun 29, 2012

I'm not sure what is the problem. What is the Markdown source that produced this, and what did you expect as the output?

Sorbing commented Jun 29, 2012

Example:

<pre><code class="php">
echo "HTML"; // instead of a string "HTML" inserted tags
</code></pre>
*[HTML]: Hyper Text Markup Language
Owner

michelf commented Jun 29, 2012

Now I understand. :-)

Which version of PHP Markdown Extra are you using? I can't reproduce this behaviour on the dingus by copy-pasting your example.
http://michelf.com/projects/php-markdown/dingus/

Sorbing commented Jun 29, 2012

it is this): https://github.com/coreyworrell/php-markdown/blob/e90b9127ab79f78a4359a87757d5221ffd6c77e5/markdown.php
I needed a support "manual class set" for the code block:

~~~ php
// code
~~\~
Owner

michelf commented Jun 29, 2012

Ok, so it looks like it's related to coreyworrell's extension. I'll look at this when I integrate it within the official branch (which should happen in a few weeks). Thanks for the report.

Owner

michelf commented Jun 29, 2012

@coreyworrell this bug is related to your code. :-)

Awesome. @michelf I probably wouldn't merge my fork yet. It seems to be a little buggy, and I haven't taken a look at the code in awhile. I think it'll need a rewrite.

Owner

michelf commented Jan 6, 2013

commit 6ebb841

@michelf michelf closed this Jan 6, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment