Skip to content

Commit

Permalink
No Times New Roman
Browse files Browse the repository at this point in the history
  • Loading branch information
ralfhandl committed Jul 25, 2023
1 parent b83d16c commit 6ccf521
Show file tree
Hide file tree
Showing 3 changed files with 908 additions and 1,309 deletions.
2 changes: 1 addition & 1 deletion odata-protocol/temp/clean.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const clean = old
.replace(/<body[\s\S]*?<h1/, "<body>\n<h1")

// remove _Toc anchors
.replace(/<span[ \n]style='font:7.0pt "Times New Roman"'>(&nbsp;|\n)+<\/span>/g,"")
.replace(/<span[ \n]style='font:7.0pt "Times New Roman"'>(&nbsp;|\n|\s)+<\/span>/g," ")
.replace(/<a[ \n]name="_Toc\d+">[\d\. ]*<\/a>/g, "")
.replace(/<h1[^>]*>/g, "<h1>")

Expand Down
Loading

0 comments on commit 6ccf521

Please sign in to comment.