Explorar el Código

wiki: Show pronunciation

Unknown why this was stripped. It seems to work okay. (Try looking up
Vodka). Thanks to @rbisewski for finding this.
Will Storey hace 8 años
padre
commit
0f69011133
Se han modificado 1 ficheros con 1 adiciones y 3 borrados
  1. 1 3
      wiki.tcl

+ 1 - 3
wiki.tcl

@@ -79,9 +79,7 @@ proc wiki::fetch {term {url {}}} {
 }
 
 proc wiki::sanitise {raw} {
-	set raw [htmlparse::mapEscapes $raw]
-	# Remove pronunciation stuff
-	set raw [regsub -- {<span.*? class="IPA">.*?</span>} $raw ""]
+	set raw [::htmlparse::mapEscapes $raw]
 	# Remove some help links
 	set raw [regsub -- {<small class="metadata">.*?</small>} $raw ""]