projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9976c31
)
decode html entities
author
Joey Hess
<joey@kodama.kitenet.net>
Wed, 4 Jun 2008 05:34:26 +0000
(
01:34
-0400)
committer
Joey Hess
<joey@kodama.kitenet.net>
Wed, 4 Jun 2008 05:34:26 +0000
(
01:34
-0400)
IkiWiki/Plugin/search.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/search.pm
b/IkiWiki/Plugin/search.pm
index 3ea4c6b7f01fcb644c217c7fa9e38bde22a2406d..1ee1b8fdb9bf52bae52d67b517f0a2032287e23d 100644
(file)
--- a/
IkiWiki/Plugin/search.pm
+++ b/
IkiWiki/Plugin/search.pm
@@
-92,6
+92,9
@@
sub index (@) { #{{{
}
}
$sample=~s/\n/ /g;
+ # Decode html entities in the sample since omega encodes them.
+ eval q{use HTML::Entities};
+ $sample=decode_entities($sample);
# data used by omega
$doc->set_data(