소스 검색

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 년 전
부모
커밋
0f69011133
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  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 ""]