Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ep_font_family

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ep_font_family - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

9

index.js

@@ -58,4 +58,4 @@ var eejs = require('ep_etherpad-lite/node/eejs/');

var fontName = font.substring(4);
lineContent = lineContent.replace("<"+font, "<span style='font-family:"+fontName+"'");
lineContent = lineContent.replace("</"+font, "</span");
lineContent = lineContent.replaceAll("<"+font, "<span style='font-family:"+fontName+"'");
lineContent = lineContent.replaceAll("</"+font, "</span");
}

@@ -65,1 +65,6 @@ });

}
String.prototype.replaceAll = function(str1, str2, ignore)
{
return this.replace(new RegExp(str1.replace(/([\/\,\!\\\^\$\{\}\[\]\(\)\.\*\+\?\|\<\>\-\&])/g,"\\$&"),(ignore?"gi":"g")),(typeof(str2)=="string")?str2.replace(/\$/g,"$$$$"):str2);
}
{
"description": "Add support for different Fonts",
"name": "ep_font_family",
"version": "0.2.3",
"version": "0.2.4",
"author": {

@@ -6,0 +6,0 @@ "name": "John McLear",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc