Socket
Socket
Sign inDemoInstall

bbcode-to-markdown

Package Overview
Dependencies
107
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.24 to 0.0.25

2

package.json
{
"name": "bbcode-to-markdown",
"version": "0.0.24",
"version": "0.0.25",
"description": "bbcode-to-markdown ==================",

@@ -5,0 +5,0 @@ "main": "./src/bbcode-to-markdown.js",

@@ -19,3 +19,3 @@ bbcode-to-markdown

based off of these main libs
- [bbcodejs](https://github.com/vishnevskiy/bbcodejs) (forked for good intentions)
- [bbcodejs](https://github.com/akhoury/bbcodejs) (forked for good intentions)
- [to-markdown](https://github.com/domchristie/to-markdown)

@@ -22,0 +22,0 @@

@@ -116,3 +116,3 @@ var bbcode = require('bbcodejs');

pieces.push('<small>');
pieces.push('@' + citation.split(',')[0].split(';')[0] + ' said:');
pieces.push('@' + citation.split(',')[0].split(';')[0] + ':');
pieces.push('</small><br>');

@@ -119,0 +119,0 @@ }

@@ -19,14 +19,14 @@ [

"raw": "[quote author=Luke Larris link=topic=2835.msg20559#msg20559 date=1405282198]<br />test<br />[/quote]<br /><br />hey!",
"html": "<small>@Luke said:</small><br><blockquote><br />test<br /></blockquote><br /><br />hey!",
"md": "@Luke said:\n\n> test\n\nhey!"
"html": "<small>@Luke:</small><br><blockquote><br />test<br /></blockquote><br /><br />hey!",
"md": "@Luke:\n\n> test\n\nhey!"
},
{
"raw": "[quote author=\"Luke Larris\" link=topic=2835.msg20559#msg20559 date=1405282198]<br />test<br />[/quote]<br /><br />hey!",
"html": "<small>@Luke Larris said:</small><br><blockquote><br />test<br /></blockquote><br /><br />hey!",
"md": "@Luke Larris said:\n\n> test\n\nhey!"
"html": "<small>@Luke Larris:</small><br><blockquote><br />test<br /></blockquote><br /><br />hey!",
"md": "@Luke Larris:\n\n> test\n\nhey!"
},
{
"raw": "[quote=aziz;1234]<br />test<br />[/quote]<br /><br />hey!",
"html": "<small>@aziz said:</small><br><blockquote><br />test<br /></blockquote><br /><br />hey!",
"md": "@aziz said:\n\n> test\n\nhey!"
"html": "<small>@aziz:</small><br><blockquote><br />test<br /></blockquote><br /><br />hey!",
"md": "@aziz:\n\n> test\n\nhey!"
},

@@ -33,0 +33,0 @@ {

@@ -16,2 +16,2 @@ var convert = require('../src/bbcode-to-markdown');

});
console.log("All good, " + samples.length + " passed.");
console.log("All good, " + samples.length + " tests passed.");
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc