New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

showdown-ghost-highlight

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

showdown-ghost-highlight - npm Package Compare versions

Comparing version

to
0.0.5

test/cases/emphasis-inside-inline-code.html

4

package.json
{
"name": "showdown-ghost-highlight",
"version": "0.0.3",
"version": "0.0.5",
"description": "Showdown Ghost Highlight Extension",

@@ -26,4 +26,4 @@ "keywords": [

"grunt-simple-mocha": "^0.4.0",
"showdown": "^1.6.2"
"showdown": "showdownjs/showdown#develop"
}
}

@@ -47,3 +47,3 @@ /* jshint node:true, browser:true */

'italicsAndBold.after': function (evtName, text) {
text = text.replace(/\B={2}([^=]+?)={2}\B/g, function (match, content) {
text = text.replace(/\B==([^=\s][\s\S]*?)==\B/gm, function (match, content) {
return '<mark>' + content + '</mark>';

@@ -50,0 +50,0 @@ });

@@ -1,1 +0,1 @@

this \==should not highlight=\=
this \==should not highlight=\=

@@ -93,2 +93,6 @@ /**

// Remove extra lines
testCase.expected = testCase.expected.trim();
testCase.actual = testCase.actual.trim();
return testCase;

@@ -95,0 +99,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet