Support » Fixing WordPress » Markdown Oddness

  • I found the following Markdown syntax doesn’t work in WP 1.2 with Markdown enabled:
    ![Alt text](/my/image/path.jpg “Optional Title Text”)
    Specifically, the optional title text causes a problem. Some very unusual and invalid HTML is output instead of what’s expected.

Viewing 1 replies (of 1 total)
  • Change the following lines at the bottom of the plugin to do Markdown _before_ WP-texturize (!= textile) and it should work.
    add_filter(‘the_content’, ‘Markdown’, 6);
    add_filter(‘the_excerpt’, ‘Markdown’, 6);
    There is also a typo in _DoAnchors_reference_callback:
    if ( isset( $g_titles[$link_id] ) ) {
    (the ‘s’ in $g_titles has been forgotten.)

Viewing 1 replies (of 1 total)
  • The topic ‘Markdown Oddness’ is closed to new replies.