sanitize < > in list elements

This commit is contained in:
sejo 2022-02-10 09:03:33 -06:00
parent 5ef0c556dc
commit c506c16cb3
4 changed files with 6 additions and 3 deletions

View File

@ -207,6 +207,8 @@ sub(/^\+[[:blank:]]+/,""){ # include literal
modo_lista = 1
appendContenido( "<ul>" )
}
gsub("<","\\&lt;",$0)
gsub(">","\\&gt;",$0)
sub(/\*[[:blank:]]+/,"<li>",$0)
sub(/$/,"</li>",$0)
appendContenido( wikiLink($0) )

View File

@ -742,7 +742,7 @@ recuerde que .Pantalla/x es una dirección literal en la página cero, es decir,
* EQU: empuja 01 hacia abajo en la pila si los dos primeros elementos de la pila son iguales, o empuja 00 en caso contrario ( a b -- a==b )
* NEQ: empuja 01 hacia abajo en la pila si los dos primeros elementos de la pila no son iguales, o empuja 00 en caso contrario ( a b -- a!=b )
* GTH: empuja 01 hacia abajo en la pila si el primer elemento es mayor que el segundo, o empuja 00 en caso contrario ( a b -- a>b )
* LTH: empuja 01 hacia abajo en la pila si el primer elemento es menor que el segundo, o empuja 00 en caso contrario ( a b -- a&lt;b )
* LTH: empuja 01 hacia abajo en la pila si el primer elemento es menor que el segundo, o empuja 00 en caso contrario ( a b -- a<b )
## lógica a nivel de bits

View File

@ -132,7 +132,7 @@ you can find a more detailed reference of all the opcodes in the uxntal opcode m
* EQU: push 01 down into the stack if the top two elements of the stack are equal, or push 00 otherwise ( a b -- a==b )
* NEQ: push 01 down into the stack if the top two elements of the stack are not equal, or push 00 otherwise ( a b -- a!=b )
* GTH: push 01 down into the stack if the first element is greater than the second, or push 00 otherwise ( a b -- a>b )
* LTH: push 01 down into the stack if the first element is less than the second, or push 00 otherwise ( a b -- a&lt;b )
* LTH: push 01 down into the stack if the first element is less than the second, or push 00 otherwise ( a b -- a<b )
* AND: perform a bitwise AND with the top two elements of the stack, and push down the result ( a b -- a&b )
* ORA: perform a bitwise OR with the top two elements of the stack, and push down the result ( a b -- a|b )

View File

@ -742,7 +742,8 @@ these are all the uxntal instructions that we discussed today!
* EQU: push 01 down into the stack if the top two elements of the stack are equal, or push 00 otherwise ( a b -- a==b )
* NEQ: push 01 down into the stack if the top two elements of the stack are not equal, or push 00 otherwise ( a b -- a!=b )
* GTH: push 01 down into the stack if the first element is greater than the second, or push 00 otherwise ( a b -- a>b )
* LTH: push 01 down into the stack if the first element is less than the second, or push 00 otherwise ( a b -- a&lt;b )
* LTH: push 01 down into the stack if the first element is less than the second, or push 00 otherwise ( a b -- a<b )
## bitwise logic