telegramify-markdown
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -73,3 +73,4 @@ const defaultHandlers = require('mdast-util-to-markdown/lib/handle'); | ||
const text = phrasing(node, context, {before: '|', after: '>'}) || escapeSymbols(node.title); | ||
const url = encodeURI(node.url); | ||
const isUrlEncoded = decodeURI(node.url) !== node.url; | ||
const url = isUrlEncoded ? node.url : encodeURI(node.url); | ||
exit(); | ||
@@ -76,0 +77,0 @@ |
{ | ||
"name": "telegramify-markdown", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "Convert markdown into Telegram-specific markdown", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
12241
235