summaryrefslogtreecommitdiff
path: root/gulpfile.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2016-12-29 15:39:24 +0900
committersyuilo <syuilotan@yahoo.co.jp>2016-12-29 15:39:24 +0900
commitc66479747c2e8a317710d9b2d010098721d258d9 (patch)
tree4000291e8bc7b17bfe823d057f8cd9ae8e4b4235 /gulpfile.ts
parent:v: (diff)
downloadsharkey-c66479747c2e8a317710d9b2d010098721d258d9.tar.gz
sharkey-c66479747c2e8a317710d9b2d010098721d258d9.tar.bz2
sharkey-c66479747c2e8a317710d9b2d010098721d258d9.zip
Fix bug
Diffstat (limited to 'gulpfile.ts')
-rw-r--r--gulpfile.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/gulpfile.ts b/gulpfile.ts
index d05864a2e4..4ac2f5a820 100644
--- a/gulpfile.ts
+++ b/gulpfile.ts
@@ -66,7 +66,7 @@ gulp.task('build:ts', () =>
gulp.task('build:about:docs', () => {
const licenseHtml = fs.readFileSync('./LICENSE', 'utf-8')
.replace(/\r\n/g, '\n')
- .replace(/.\n./g, '<wbr>')
+ .replace(/(.)\n(.)/g, '$1 $2')
.replace(/(^|\n)(.*?)($|\n)/g, '<p>$2</p>');
const pugs = glob.sync('./src/web/about/pages/**/*.pug');
const streams = pugs.map(file => {