From 141affdb5140478464bf3c7331f6be4cf9454dd6 Mon Sep 17 00:00:00 2001
From: fiddlosopher
Date: Sat, 27 Jan 2007 22:13:11 +0000
Subject: More changes in entity handling: Instead of using entities for
characters above 128 in HTML and Docbook output, we now just use unicode.
After all, we're declaring UTF-8 content in the header. This makes the HTML
and docbook files produced by pandoc much more readable and editable.
Changes to Entities.hs:
+ Removed specialCharToEntity
+ Added escapeSGMLChar (which just escapes the basic four, <>&")
+ Modified encodeEntities and stringToSGML to use escapeSGMLChar
+ Removed encodeEntitiesNumerical
+ Rewrote encodeEntities for better performance
+ Rewrote stringToSGML for better performance
git-svn-id: https://pandoc.googlecode.com/svn/trunk@516 788f1e2b-df1e-0410-8736-df70ead52e1b
---
tests/writer.html | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
(limited to 'tests/writer.html')
diff --git a/tests/writer.html b/tests/writer.html
index 3213bb9ce..356e4cb3e 100644
--- a/tests/writer.html
+++ b/tests/writer.html
@@ -557,11 +557,11 @@ Cat & 1 \\ \hline
Here is some unicode:
- - I hat: Î
- - o umlaut: ö
- - section: §
- - set membership: ∈
- - copyright: ©
+ - I hat: Î
+ - o umlaut: ö
+ - section: §
+ - set membership: ∈
+ - copyright: ©
AT&T has an ampersand in their name.
--
cgit v1.2.3