Colon in title breaks server
#64
Closed
opened 3 years ago by are0h
·
2 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
I edited the Index page with a title that included the
:
character ("X presents: Y" seemed like a fun title format for it). This crashed the PHP server. Terminal log says this:I've since fixed the crash by going to
/content/pages/start/index.md
and putting"
s around the title in a different text editor. Likewise adding"
around the title in Fipamo's editor creates a working title and lets the server run as normal, although opening the file again to edit will not make it display the quotation marks.I'm guessing the fix would be to have the Markdown editor write
with quotation marks included, before the YAML parser gets at it and freaks out.
Sounds right. I'll take a look at see how it goes.
I took a look at how the markdown is being saved, changed saving the title to a quoted string and worked like a charm.
I'll push the update to beta when the next milestone is completed.