r1337 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r1336‎ | r1337 | r1338 >
Date:22:40, 19 May 2003
Author:vibber
Status:old
Tags:
Comment:
Quick patch for dollar-sign as dollar or backslash-dollar; from taw
Modified paths:
  • /trunk/phase3/math/lexer.mll (modified) (history)

Diff [purge]

Index: trunk/phase3/math/lexer.mll
@@ -61,6 +61,7 @@
6262 | "\\_" { LITERAL (HTMLABLEC(FONT_UFH,"\\_","_")) }
6363 | "\\#" { LITERAL (HTMLABLE (FONT_UFH,"\\#","#")) }
6464 | "\\%" { LITERAL (HTMLABLE (FONT_UFH,"\\%","%")) }
 65+ | "\\$" { LITERAL (HTMLABLE (FONT_UFH,"\\$","$")) }
6566 | "&" { NEXT_CELL }
6667 | "\\\\" { NEXT_ROW }
6768 | "\\begin{matrix}" { Texutil.tex_use_ams(); BEGIN__MATRIX }
@@ -80,6 +81,7 @@
8182 | '>' { LITERAL (HTMLABLEC(FONT_UFH,">"," > ")) }
8283 | '<' { LITERAL (HTMLABLEC(FONT_UFH,"<"," &lt; ")) }
8384 | '%' { LITERAL (HTMLABLEC(FONT_UFH,"\\%","%")) }
 85+ | '$' { LITERAL (HTMLABLEC(FONT_UFH,"\\$","$")) }
8486 | '~' { LITERAL (HTMLABLE (FONT_UF, "~","&nbsp;")) }
8587 | '[' { DELIMITER (HTMLABLEC(FONT_UFH,"[","[")) }
8688 | ']' { SQ_CLOSE }

Status & tagging log