Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shortcode based export is broken #73

Closed
basus opened this issue Jan 6, 2012 · 6 comments
Closed

Shortcode based export is broken #73

basus opened this issue Jan 6, 2012 · 6 comments

Comments

@basus
Copy link

basus commented Jan 6, 2012

Exporting a file with multiple source blocks using the WordPress short codes is broken. The result is very garbled with the source code blocks appearing in the wrong places and some of the blocks passing through as the default Orgmode generated HTML. The export without the short codes works fine. Here is an example of both an Org source file and the HTML cooed out the WordPress editor. Hope that helps. I'm using the latest org-mode and the latest org2blog. The Org-mode HTML export seems to be fine.

@punchagan
Copy link
Member

I haven't been able to reproduce this with Org-mode version 7.7
(release_7.7.505.g8354). I'll check later, with the latest version of
org-mode, though.

On Fri, Jan 6, 2012 at 8:42 AM, Shrutarshi Basu
reply@reply.github.com
wrote:

Exporting a file with multiple source blocks using the WordPress short codes is broken. The result is very garbled with the source code blocks appearing in the wrong places and some of the blocks passing through as the default Orgmode generated HTML. The export without the short codes works fine. Here is an example of both an Org source file and the HTML cooed out the WordPress editor. Hope that helps. I'm using the latest org-mode and the latest org2blog. The Org-mode HTML export seems to be fine.


Reply to this email directly or view it on GitHub:
#73

@punchagan
Copy link
Member

Unfortunately, I'm unable to reproduce it with the latest version of org-mode and GNU Emacs 23.2.1.

@basus
Copy link
Author

basus commented Jan 9, 2012

Hmm... I'll do some digging and see if there's something wrong on my end.

@alandmoore
Copy link

I'm having this exact issue; using emacs 24.1 with org-mode nightly snapshots installed through the package manager. I've been writing a blog post on different markup languages, and it seems that if I include code that looks too much like org-mode markup, it messes up.

I can render to HTML with no problems, and if I turn off shortcodes it works fine (except that it doesn't work with my wordpress syntax-highlighter, so I don't want to use pre blocks).

@punchagan
Copy link
Member

@alandmoore Can you give me some sample post to reproduce this?

@punchagan
Copy link
Member

Closing as stale. Please reopen if this is still broken on org-8-experimental branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants