[SVN] r4014 (Blogging)

Allan Odgaard throw-away-1 at macromates.com
Wed Jul 5 06:10:34 UTC 2006


• when posting to WP: add a newline before the more part.

The reason is that WP will add <a id="more"></a> between the main entry and the main entry continued. If one uses Markdown this will result in the line becoming <p><a id="more"></a><br /> [1] but with the extra newline, it instead becomes <p><a id="more"></a></p> which doesn’t result in extra space (in WebKit.)

Ideally the Markdown plug-in should probably be changed, but I don’t think there are any bad side effects of this extra leading newline.

[1] this behavior though only if you’ve patched the markdown plug-in to provide the priority (30) when it attempts to remove_filter the wpautop function.

Changed:
U   trunk/Bundles/Blogging.tmbundle/Support/lib/blogging.rb



More information about the textmate-dev mailing list