Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am anwfr on github.
* I am anw (https://keybase.io/anw) on keybase.
* I have a public key ASDUYQpBCtB-UhLInfbUmvxe30o2O1L1jgMLYAX58AWs6Qo
To claim this, I am signing this object:
Verifying I am +anw on my passcard. https://onename.com/anw
@anwfr
anwfr / gist:5854455
Created June 24, 2013 22:54
Anwiki issue 150 - HTML entities escaped twice in translation action strings
# HG changeset patch
# User Wladimir Palant <trev@adblockplus.org>
# Date 1305801479 -7200
# Branch local
# Node ID 3b575babd5540741debe6029a69c8c5867805b00
# Parent 9ff4fb13ee4a6bc45f30e3be2671ed5d5861ace3
Anwiki issue 150 - HTML entities escaped twice in translation action strings
diff --git a/anwiki/default/actions/action_translate/lang/action_translate.lang.en.php b/anwiki/default/actions/action_translate/lang/action_translate.lang.en.php
--- a/anwiki/default/actions/action_translate/lang/action_translate.lang.en.php
@anwfr
anwfr / gist:5854397
Created June 24, 2013 22:46
Strings with empty translation should not appear in the output
# HG changeset patch
# User Wladimir Palant <trev@adblockplus.org>
# Date 1297408917 -3600
# Branch local
# Node ID 342ebb6ce1c7690549cfb3a1c67dc62c27abc0cc
# Parent c2665fb4abc43fdee7d59936c7dc7d920ce05759
Strings with empty translation should not appear in the output
diff --git a/anwiki/sources/classes/class_output.php b/anwiki/sources/classes/class_output.php
--- a/anwiki/sources/classes/class_output.php