egonSchiele / mdpress

[DEAD] Make impress.js presentations from markdown files.
http://egonschiele.github.io/mdpress/
MIT License
337 stars 49 forks source link

XML tags are stripped. #30

Open Profpatsch opened 10 years ago

Profpatsch commented 10 years ago
Paketverwaltung **Maven**

- IDE-agnostisch
- Dependency-Management

        <dependency>
            <groupId>edu.gmu.cs</groupId>
            <artifactId>mason</artifactId>
            <version>14.0</version>
        </dependency>

- einfaches deployment

displays as screenshot

compared to screenshot

Profpatsch commented 10 years ago

The code looks like this

<pre><code class='prettyprint '><dependency>
    <groupId>edu.gmu.cs</groupId>
    <artifactId>mason</artifactId>
    <version>14.0</version>
</dependency>
</code></pre>

instead of this

        &lt;dependency&gt;
            &lt;groupId&gt;edu.gmu.cs&lt;/groupId&gt;
            &lt;artifactId&gt;mason&lt;/artifactId&gt;
            &lt;version&gt;14.0&lt;/version&gt;
        &lt;/dependency&gt;
Profpatsch commented 10 years ago

Could resolve that by replacing < with <

        &lt;dependency>
            &lt;groupId>edu.gmu.cs&lt;/groupId>
            &lt;artifactId>mason&lt;/artifactId>
            &lt;version>14.0&lt;/version>
        &lt;/dependency>

Not a good solution, though.

Profpatsch commented 10 years ago

Hm, I see. Every < lets the code behind it disappear.

rjcoelho commented 9 years ago

Prbl is in ImpressRenderer's block_code/codespan that dont html escape (unlike Redcarpet::Render::HTML that does escape)

Profpatsch commented 9 years ago

Can this be fixed?

egonSchiele commented 9 years ago

Fixed in master. Please pull and try again. BTW, I am slowly going to transition to this project to abandonware. I don't use it anymore and don't have the time to maintain it. If you are interested in taking over as maintainer, please let me know!

Profpatsch commented 9 years ago

@egonSchiele What do you use instead?

egonSchiele commented 9 years ago

I use mdpress when I need to, I just don't give very many talks :)

Profpatsch commented 9 years ago

I guess that’s kind of ideal. :)