Update markdown_inline.awk
This commit is contained in:
@@ -31,7 +31,7 @@ function restore_html_tags(s, i) {
|
|||||||
if ($0 ~ /<pre>/) {
|
if ($0 ~ /<pre>/) {
|
||||||
in_pre = 1
|
in_pre = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
if (in_pre) {
|
if (in_pre) {
|
||||||
print
|
print
|
||||||
if ($0 ~ /<\/pre>/) {
|
if ($0 ~ /<\/pre>/) {
|
||||||
@@ -185,7 +185,7 @@ function restore_html_tags(s, i) {
|
|||||||
if (line !~ /&[A-Za-z0-9#]+;/) {
|
if (line !~ /&[A-Za-z0-9#]+;/) {
|
||||||
gsub(/&/, "&", line)
|
gsub(/&/, "&", line)
|
||||||
}
|
}
|
||||||
|
|
||||||
p = 1
|
p = 1
|
||||||
while (match(substr(line, p), /</)) {
|
while (match(substr(line, p), /</)) {
|
||||||
start = p + RSTART - 1
|
start = p + RSTART - 1
|
||||||
|
|||||||
Reference in New Issue
Block a user