Kaynağa Gözat

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 8 yıl önce
ebeveyn
işleme
0f69011133
1 değiştirilmiş dosya ile 1 ekleme ve 3 silme
  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 ""]