Skip to content
This repository has been archived by the owner on Jun 9, 2018. It is now read-only.

Commit

Permalink
fix reflink : escape_xml only once time
Browse files Browse the repository at this point in the history
  • Loading branch information
fperrad committed Mar 24, 2009
1 parent 6c33c05 commit 7d8afac
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Compiler.pir
Expand Up @@ -352,10 +352,8 @@ Return generated HTML for all of its children.
$P1 = $P0[$S0]
if null $P1 goto L1
.local string url, title
$S0 = $P1[0]
url = escape_xml($S0)
$S0 = $P1[1]
title = escape_xml($S0)
url = $P1[0]
title = $P1[1]
goto L2
L1:
$S0 = node.'text'()
Expand Down

0 comments on commit 7d8afac

Please sign in to comment.