vue-highlightjs
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -18,3 +18,3 @@ 'use strict'; | ||
// instead of the element content. | ||
target.innerHTML = binding.value; | ||
target.textContent = binding.value; | ||
} | ||
@@ -32,3 +32,3 @@ | ||
if (binding.value) { | ||
target.innerHTML = binding.value; | ||
target.textContent = binding.value; | ||
hljs.highlightBlock(target); | ||
@@ -35,0 +35,0 @@ } |
{ | ||
"name": "vue-highlightjs", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Syntax highlighting with highlight.js for Vue.js 2.x", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/metachris/vue-highlightjs", |
@@ -5,1 +5,2 @@ Steps to deploy on npm: | ||
* Commit and push to Github | ||
* `npm publish` |
@@ -57,1 +57,2 @@ [Vue.js](https://vuejs.org/) syntax highlighting made easy, using [highlight.js](https://highlightjs.org/). | ||
* [mr-krille](https://github.com/mr-krille) | ||
* [Duoc Nguyen](https://github.com/nguyenvanduocit) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4844
10
58