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

scribe-plugin-content-cleaner

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scribe-plugin-content-cleaner

Clean up content in a scribe instance

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Scribe Content Cleaner plugin

Formats the content of the HTML wrapped by the Scribe instance and applies Guardian rules for cleaning content to a standard format.

Rules summary

  • Reduce multiple whitespace to a single space
  • Turns -- into the endash character, regards of spacing around the double-hyphens
  • Turns - into the endash character
  • Removes elements that only consist of break return elements
  • Reduces multiple break-returns to a single break return
  • Where a break-return separates non-boundary characters the break-return is replaced with a space

Running the tests

  • npm install
  • npm test

Known issues

Tests are not running locally on Firefox due to an out-of-date Selenium Webdriver dependency

FAQs

Package last updated on 20 Apr 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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