-
Notifications
You must be signed in to change notification settings - Fork 132
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
Summary splitter (more comment) at end of post content (file or subtree) causes error #152
Comments
Thanks!
That sounds like a bug. Can you do I'll also try to reproduce the problem locally, but the backtrace will immensely help. |
And to the question:
You can simply do:
|
Thanks for the quick response! Here's the backtrace: Thanks for the tip about the |
OK, I was able to reproduce this issue even with:
I'll take a look by the end of today. |
Hmm, it's definitely a bug.. but looks like a
Will investigate more. Update: Yes it is.. typing just |
Closing this issue as it's not related to |
First of all, I'd like to say THANK YOU for ox-hugo - it has revolutionized how I maintain my Hugo-powered website using org-mode.
I have found a strange behavior in what should be a very uncommon corner case, but here it is anyway: if a post contains a
<!--more-->
tag as its last line, upon export I get the promptBuffer test.md modified; kill anyway?
, and then no matter what I respond, I get the errormarkdown-syntax-propertize-comments: Wrong type argument: integer-or-marker-p, nil
, and the file is not exported.Very easy workaround: adding some text after the
<!--more-->
line, even if it's just a\nbsp
, then the export works fine (this is why I think this is an uncommon corner case, in regular use this shouldn't happen).Here's a short file which reproduces the problem:
In case you are curious: I came across this because I have a short page in which I want to have the
<!--more-->
tag to influence the generation of the post summary by Hugo (I cannot use the:summary
custom front matter because in this case I want the summary to include some HTML generated by a custom Hugo shortcode, which would otherwise get stripped out).Versions: Emacs 25.3.2, Org mode 9.1.8, ox-hugo 20180403.1111 from MELPA
The text was updated successfully, but these errors were encountered: