-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#135: added Saxon XSLT lib, removed slow kludge for XML-in-HTML-fixing
- Loading branch information
Showing
9 changed files
with
134 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
bin.includes = META-INF/,\ | ||
. | ||
.,\ | ||
saxon/ | ||
source.. = src/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
de.gebit.integrity.runner/saxon/com.icl.saxon.output.HTMLEmitter.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/HTMLEmitter.java b/HTMLEmitter.java | ||
index 033b585..754b892 100644 | ||
--- a/HTMLEmitter.java | ||
+++ b/HTMLEmitter.java | ||
@@ -326,7 +326,7 @@ public class HTMLEmitter extends XMLEmitter { | ||
|
||
if (inAttribute) { | ||
if (ch[i]=='<') { | ||
- writer.write('<'); // not escaped | ||
+ writer.write("<"); // escaped | ||
} else if (ch[i]=='>') { | ||
writer.write(">"); // recommended for older browsers | ||
} else if (ch[i]=='&') { |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters