mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 00:43:49 +01:00
Fix bug
This commit is contained in:
parent
31d0aa2741
commit
de1511c67e
@ -66,7 +66,7 @@ gulp.task('build:ts', () =>
|
|||||||
gulp.task('build:about:docs', () => {
|
gulp.task('build:about:docs', () => {
|
||||||
const licenseHtml = fs.readFileSync('./LICENSE', 'utf-8')
|
const licenseHtml = fs.readFileSync('./LICENSE', 'utf-8')
|
||||||
.replace(/\r\n/g, '\n')
|
.replace(/\r\n/g, '\n')
|
||||||
.replace(/.\n./g, '<wbr>')
|
.replace(/(.)\n(.)/g, '$1 $2')
|
||||||
.replace(/(^|\n)(.*?)($|\n)/g, '<p>$2</p>');
|
.replace(/(^|\n)(.*?)($|\n)/g, '<p>$2</p>');
|
||||||
const pugs = glob.sync('./src/web/about/pages/**/*.pug');
|
const pugs = glob.sync('./src/web/about/pages/**/*.pug');
|
||||||
const streams = pugs.map(file => {
|
const streams = pugs.map(file => {
|
||||||
|
Loading…
Reference in New Issue
Block a user