From f3d02c66626d4c1cb1ad5a5e6625936566c95a02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Teichgr=C3=A4ber?= Date: Wed, 23 Jan 2013 22:46:38 +0100 Subject: [PATCH] Only obfuscate ascii characters. [jgm/peg-markdown] See https://github.com/jgm/peg-markdown/commit/9ff58c2 --- output.go | 2 +- portid | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/output.go b/output.go index b89195e..fc26a1f 100644 --- a/output.go +++ b/output.go @@ -115,7 +115,7 @@ func (w *htmlOut) str(s string) *htmlOut { case '"': ws = """ default: - if o { + if o && r < 128 && r >= 0 { if rand.Intn(2) == 0 { ws = fmt.Sprintf("&#%d;", r) } else { diff --git a/portid b/portid index aa34eab..c92ba56 100644 --- a/portid +++ b/portid @@ -1 +1 @@ -199 +207