mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-04-16 18:19:36 +00:00
contrib/html: strip question mark from anchor
This commit is contained in:
parent
621e5316a8
commit
a0e1088f44
1 changed files with 1 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ markdown -f toc,idanchor "${1}" | sed \
|
|||
-e 's/href="\([-_\./[:alnum:]]*\)\.md\(#[-[:alnum:]]*\)\?"/href="\1.html\2"/g' \
|
||||
-e '/<h[1234] /s| id="\(.*\)">| id="\L\1">|' \
|
||||
-e '/<h[1234] /s|-2[1789cd]-||g' \
|
||||
-e '/<h[1234] /s|-3[f]-||g' \
|
||||
-e '/<h[1234] /s|--26-amp-3b-||g' \
|
||||
-e '/^<pre>/s|pre|pre class="code" onclick="CopyToClipboard(this)"|g' \
|
||||
-e '/The above link may be broken on code hosting sites/s|blockquote|blockquote style="display: none;"|'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue