@t8/docsgen 0.1.21 → 0.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.js +1 -1
- package/package.json +1 -1
- package/src/bin/toFileContent.ts +1 -1
package/dist/bin.js
CHANGED
|
@@ -548,7 +548,7 @@ function getTitle(ctx, { cover, originalContent, withPackageURL } = {}) {
|
|
|
548
548
|
|
|
549
549
|
// src/bin/toFileContent.ts
|
|
550
550
|
function toFileContent(x) {
|
|
551
|
-
return `${x.replace(/\s+(
|
|
551
|
+
return `${x.replace(/\s+(\r?\n *<\/(script|link|head|body)>)/g, "$1").trim()}
|
|
552
552
|
`;
|
|
553
553
|
}
|
|
554
554
|
|
package/package.json
CHANGED
package/src/bin/toFileContent.ts
CHANGED