Skip to content
This repository has been archived by the owner on Sep 23, 2021. It is now read-only.

Preview vs Present #47

Open
SGStino opened this issue Jan 12, 2019 · 5 comments
Open

Preview vs Present #47

SGStino opened this issue Jan 12, 2019 · 5 comments

Comments

@SGStino
Copy link

SGStino commented Jan 12, 2019

There seems to be an issue where the server side code renders markdown differently than the client side javascript code?

it renders the markdown with the html <span class="hljs-built_in">...</span> readable.

Markdown:

```sh
mkdir my-repository
cd my-repository
git init

Present&Preview:

<pre><code class="lang-sh hljs bash">mkdir my-repository
&lt;span class=<span class="hljs-string">"hljs-built_in"</span>&gt;<span class="hljs-built_in">cd</span>&lt;/span&gt; my-repository
git init
</code></pre>

Preview generated & updated after editing

<pre><code class="lang-sh hljs bash">mkdir my-repository
<span class="hljs-built_in"><span class="hljs-built_in">cd</span></span> my-repository
git init
</code></pre>
@msoedov
Copy link
Owner

msoedov commented Jan 12, 2019

Hi @SGStino, thank you for submitting the issue. Can share more details about how to reproduce?

screen shot 2019-01-12 at 19 19 52

@SGStino
Copy link
Author

SGStino commented Jan 13, 2019

Yes, that's the preview,
That works perfectly, but if you would now hit Present, you would get to see the html tag. around the cd

I'm using the latest docker image.

@groteck
Copy link

groteck commented Jun 11, 2019

same here

@msoedov
Copy link
Owner

msoedov commented Jun 13, 2019

I have updated reveal to 3.8. That might fix this issue

@msoedov
Copy link
Owner

msoedov commented Jun 13, 2019

I was not able to reproduce it initially and I don't see any issues with #50 changes. Will merge and update docker today

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

No branches or pull requests

3 participants