summaryrefslogtreecommitdiff
path: root/htmtojargon.awk
diff options
context:
space:
mode:
authorNick White <git@njw.name>2017-06-13 14:19:02 +0100
committerNick White <git@njw.name>2017-06-13 14:19:02 +0100
commitb429bfb48ac23ccc04d6f25cc5e15f8d564b0139 (patch)
treeedf02cd036d6ec844b180deb4ec520db95f2c8ff /htmtojargon.awk
parent83efb1888dc4a319c0a8d07d95a5becd9a44bef2 (diff)
downloadoed2dict-b429bfb48ac23ccc04d6f25cc5e15f8d564b0139.tar.bz2
oed2dict-b429bfb48ac23ccc04d6f25cc5e15f8d564b0139.zip
Enable --index-data-separator in dictfmtHEADmaster
There are newer releases of GoldenDict now, so their bug that made me hold off on this feature can now be safely ignored.
Diffstat (limited to 'htmtojargon.awk')
-rw-r--r--htmtojargon.awk5
1 files changed, 1 insertions, 4 deletions
diff --git a/htmtojargon.awk b/htmtojargon.awk
index f67cd49..265c1c6 100644
--- a/htmtojargon.awk
+++ b/htmtojargon.awk
@@ -13,10 +13,7 @@ function printdefs(word, defs) {
# ensures that e.g. 'n.' queries don't match every noun.
# To be used in conjuction with an argument to dictfmt like this:
# --index-data-separator " "
- # This is disabled at the moment as GoldenDict prior to 2c901d5
- # (2013-06-16) had a bug that would ignore any entry with this
- # extra information in the index.
- #sub("<i>", " ", word);
+ sub("<i>", " ", word);
n = split(defs, array, "<def>");
for(i=0; i<=n; i++) {