@tinymce/moxiedoc
Advanced tools
Comparing version 0.3.0-rc.20230127070849516.sha460e0ab to 0.3.0-rc.20230404045126243.shac0c8c2e
@@ -9,7 +9,8 @@ # Changelog | ||
## 0.3.0 - 2022-08-23 | ||
### Added | ||
- New `structure` option for specifying `legacy` nested structure for antora docs. | ||
### Fixed | ||
- The `antora` template did not add enough newline characters when replacing <br> tags. | ||
## 0.2.1 - 2022-04-29 | ||
@@ -16,0 +17,0 @@ |
@@ -20,3 +20,3 @@ "use strict"; | ||
// convert BRs found into asciidoc \n | ||
const encodeBR = (str) => str.replace(/\s*<br\s*\/?>\s*/g, '\n'); | ||
const encodeBR = (str) => str.replace(/\s*<br\s*\/?>\s*/g, '\n\n\n'); | ||
// convert <em> into __italics__ asciidoc | ||
@@ -23,0 +23,0 @@ const encodeEM = (str) => str.replace(/<\/?em>/g, '__'); |
{ | ||
"name": "@tinymce/moxiedoc", | ||
"version": "0.3.0-rc.20230127070849516.sha460e0ab", | ||
"version": "0.3.0-rc.20230404045126243.shac0c8c2e", | ||
"description": "A tool for generating API documentation", | ||
@@ -5,0 +5,0 @@ "author": "Tiny Technologies, Inc", |
@@ -25,3 +25,3 @@ | ||
const encodeBR = (str: string): string => | ||
str.replace(/\s*<br\s*\/?>\s*/g, '\n'); | ||
str.replace(/\s*<br\s*\/?>\s*/g, '\n\n\n'); | ||
@@ -28,0 +28,0 @@ // convert <em> into __italics__ asciidoc |
Sorry, the diff of this file is not supported yet
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
367690