adding comment
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simon Petit 2024-12-05 14:42:45 +01:00
parent 7207d0528e
commit f937fd551e

View File

@ -46,6 +46,7 @@ function replaceInline(line, result, start, end) {
line = substr(line, 1, start-1) "<em>" substr(line, start+1, RLENGTH-2) "</em>" substr(line, end+1)
}
# Replace occurances of [link](url) with <a href="url">link</<a>
while (match(line, /\[([^\]]+)\]\([^\)]+\)/)) {
start = RSTART
end = RSTART + RLENGTH - 1