You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When rendering a document in to JSX you cannot use a ' in the title. The resulting JavaScript code results in a syntax error. For example, the following document.
#+TITLE: This don't work
The document ...
Will create the JavaScript.
consttitle='This don'twork';
The error can be replicated on the playground, where the JSX and preview tags don't show anything. After a bit of digging, I think it's coming from here. I will try and put together a PR wapping the value in a JSON.stringify. If you have any other suggestions, let me know.
When rendering a document in to JSX you cannot use a
'
in the title. The resulting JavaScript code results in a syntax error. For example, the following document.Will create the JavaScript.
The error can be replicated on the playground, where the JSX and preview tags don't show anything. After a bit of digging, I think it's coming from here. I will try and put together a PR wapping the value in a
JSON.stringify
. If you have any other suggestions, let me know.The text was updated successfully, but these errors were encountered: