Răsfoiți Sursa

python: fix ¶ in glossary

Simon Legner 3 ani în urmă
părinte
comite
15a05a0db4
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 2 1
      lib/docs/filters/python/entries_v3.rb

+ 2 - 1
lib/docs/filters/python/entries_v3.rb

@@ -78,7 +78,8 @@ module Docs
         end
 
         css('.glossary > dt[id]').each do |node|
-          entries << [node.content, node['id']]
+          name = node.content.remove("\u{00b6}")
+          entries << [name, node['id']]
         end
 
         css('.function > dt[id]', '.method > dt[id]', '.staticmethod > dt[id]', '.classmethod > dt[id]').each do |node|