Difference between revisions of "Template:RemoveHTMLContainers"

From ChatWars Wiki
Jump to: navigation, search
Line 2: Line 2:
 
{{#sub: {{{string|}}}
 
{{#sub: {{{string|}}}
 
   | {{#vardefineecho: startStr
 
   | {{#vardefineecho: startStr
       | {{#pos: {{{string|}}} <!-- Find closing bracket ">" of LAST span opening tag (first closing bracket after offset from start of last opening bracket) -->
+
       | {{#expr: {{#pos: {{{string|}}} <!-- Find closing bracket ">" of LAST span opening tag (first closing bracket after offset from start of last opening bracket) -->
          | >
+
                  | >
          | {{#rpos: {{{string|}}} <!-- Find LAST span opening tag-->
+
                  | {{#rpos: {{{string|}}} <!-- Find LAST span opening tag-->
              | <span
+
                      | <span
            }}
+
                    }}
 +
                }} + 1
 
         }}
 
         }}
 
     }}
 
     }}

Revision as of 16:00, 19 March 2019

Remove the fucking spa(n/m) containers #ask queries wrap around results making them impossible to use as variables for later computation