diff --git a/compile.js b/compile.js index b9bfe3b..d360b9a 100644 --- a/compile.js +++ b/compile.js @@ -69,6 +69,9 @@ function format(data, name) { .replace( /* multitag suffix fix for special characters. */ /(<\/(?:a|code)>)\n\t*([.)\];:,])/g, "$1$2" + ).replace( /* fix tag attached to word and not whitespace */ + /(\w+)(<[a-zA-Z]\w*>)/g, + "$1 $2" ); } // probably should bring in a better templating engine but whatever @@ -78,7 +81,8 @@ function format(data, name) { - + + ${name} - Documentation diff --git a/package-lock.json b/package-lock.json index fd83900..04126d0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "yiki", - "version": "0.0.5", + "version": "0.0.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "yiki", - "version": "0.0.5", + "version": "0.0.6", "license": "MIT", "dependencies": { "@liquify/prettify": "^0.5.5-beta.1", diff --git a/package.json b/package.json index bc5e505..f3d2270 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "yiki", - "version": "0.0.5", + "version": "0.0.6", "description": "The yellows111 wiki system", "main": "compile.js", "scripts": {