wikifmt: fix trailing _ in heading name reference
This commit is contained in:
parent
72679fd6cc
commit
120412a6a2
1 changed files with 2 additions and 1 deletions
|
@ -185,7 +185,8 @@ heading(void)
|
|||
output("0123456"+n, 1);
|
||||
string("><a name=\"");
|
||||
o = pos;
|
||||
while(pos < e){
|
||||
s = trimback(e);
|
||||
while(pos < s){
|
||||
if((*pos >= 'a' && *pos <= 'z')
|
||||
|| (*pos >= 'A' && *pos <= 'Z')
|
||||
|| (*pos >= '0' && *pos <= '9')
|
||||
|
|
Loading…
Reference in a new issue