added a small test case for gc
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -420,7 +420,7 @@ function do_cite(s, k,n,labels,t)
|
||||
function do_line( n,name,s)
|
||||
{
|
||||
s = protect_SGML_characters($0)
|
||||
|
||||
|
||||
if (match(s,STRING_PATTERN)) # remember name from @String{name = "value"}
|
||||
{
|
||||
name = substr(s,RSTART + STRING_OFFSET,RLENGTH - STRING_OFFSET)
|
||||
@ -520,7 +520,7 @@ function protect_SGML_characters(s)
|
||||
gsub(/</,"\\<",s)
|
||||
gsub(/>/,"\\>",s)
|
||||
|
||||
## [24-May-2016] with the change from HTML 3.2 to 4.0, we can use " again!
|
||||
## [24-May-2016] with the change from HTML 3.2 to 4.0, we can use " again!
|
||||
## gsub(/\"/,"\\"",s) # this was " in earlier HTML
|
||||
# versions, including the HTML 3.2
|
||||
# draft, but was stupidly eliminated in
|
||||
|
Reference in New Issue
Block a user