diff options
| author | Li Jin <dragon-fly@qq.com> | 2026-02-24 00:35:05 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2026-02-24 00:35:05 +0800 |
| commit | 50221313c577a2e9f01a3a6b12c8e54594f13126 (patch) | |
| tree | c2e45b3a7d2392d6cbb5aea9b7de4e2d35b03f69 /spec/outputs/compile_doc.lua | |
| parent | 52974cf6d560c123ecfcb20963e60e6caac87828 (diff) | |
| download | yuescript-50221313c577a2e9f01a3a6b12c8e54594f13126.tar.gz yuescript-50221313c577a2e9f01a3a6b12c8e54594f13126.tar.bz2 yuescript-50221313c577a2e9f01a3a6b12c8e54594f13126.zip | |
Updated all-in-one docs.v0.33.2
Diffstat (limited to 'spec/outputs/compile_doc.lua')
| -rw-r--r-- | spec/outputs/compile_doc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/outputs/compile_doc.lua b/spec/outputs/compile_doc.lua index ad1b065..e8fd719 100644 --- a/spec/outputs/compile_doc.lua +++ b/spec/outputs/compile_doc.lua | |||
| @@ -120,7 +120,7 @@ for _index_0 = 1, #docs do | |||
| 120 | local _close_0 <close> = output | 120 | local _close_0 <close> = output |
| 121 | local output2 | 121 | local output2 |
| 122 | local _with_0 = io.open(tostring(docFolder) .. "/" .. tostring(docFile), "w+") | 122 | local _with_0 = io.open(tostring(docFolder) .. "/" .. tostring(docFile), "w+") |
| 123 | _with_0:write(table.concat(docTexts, "\n")) | 123 | _with_0:write((table.concat(docTexts, "\n"):gsub("<img .-/>\n\n", ""):gsub("%-%-%-.-%-%-%-\n\n", ""):gsub("<YueDisplay>.-</YueDisplay>\n\n", ""))) |
| 124 | output2 = _with_0 | 124 | output2 = _with_0 |
| 125 | local _close_1 <close> = output2 | 125 | local _close_1 <close> = output2 |
| 126 | end | 126 | end |
