pluralsight / guides-cms

DEPRECATED - Markdown based CMS with Github repository as persistent storage
http://www.pluralsight.com/guides/
GNU Affero General Public License v3.0
108 stars 35 forks source link

Javascript exception when editing a guide #84

Closed durden closed 8 years ago

durden commented 8 years ago

Tried to edit this guide and got a javascript exception preventing the preview from loading.

I haven't narrowed it down yet but maybe it's some missing tag, etc.? @paulocheque can you take a look at it?

paulocheque commented 8 years ago

Yeah, it is related to the unclosed html tag with the "`" inside of a code.

rails s -b <SERVER's PUBLIC IP>
```


I am trying to find a solution.
paulocheque commented 8 years ago

Before the PR we had this issue:

Fail:

    ```python
    <b>asd<b'>

Success:
```html
<b>asd<b'>
```