Skip to content
This repository was archived by the owner on Jun 19, 2020. It is now read-only.
This repository was archived by the owner on Jun 19, 2020. It is now read-only.

code highlight generating html as htmlencode #45

@hgouveia

Description

@hgouveia

I Just tried this lib , almost all functionality are working , but i tried putting this (the ` are separate by space to avoid github markdown style it )

` ` `
 var hello="world";
` ` `

i got this output

<div ng-bind-html="neText" class="ng-binding">&lt;pre&gt;&lt;code class="ne-code hljs  "&gt;var hello="world";&lt;/code&gt;&lt;/pre&gt;</div>

so the html is not rendered , im using the directive, and yes i have highlight : true in the options and included in the script on the index.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions