tomalexander / orgmode-octopress

An octopress exporter for Emacs Org-Mode
16 stars 3 forks source link

added excerpts correction #11

Open laserchicken opened 10 years ago

laserchicken commented 10 years ago

Octopress allows adding "" (excerpt tag) in the post to show only its first section. Adding it to org file and exporting results in conversion to character entities (like <!– more –>). In that form excerpts are no longer recognized, so they cannot be converted to proper links in future processing.

I added code, which searches for excerpts coded with character entities and replaces them back with regular text html comments. Is this a good idea to merge it into master or should I rather implement my own "org-export-octopress-final-hook"?