diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2016-12-29 15:39:24 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2016-12-29 15:39:24 +0900 |
| commit | c66479747c2e8a317710d9b2d010098721d258d9 (patch) | |
| tree | 4000291e8bc7b17bfe823d057f8cd9ae8e4b4235 /gulpfile.ts | |
| parent | :v: (diff) | |
| download | sharkey-c66479747c2e8a317710d9b2d010098721d258d9.tar.gz sharkey-c66479747c2e8a317710d9b2d010098721d258d9.tar.bz2 sharkey-c66479747c2e8a317710d9b2d010098721d258d9.zip | |
Fix bug
Diffstat (limited to 'gulpfile.ts')
| -rw-r--r-- | gulpfile.ts | 2 |
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 => { |