Skip to content
This repository has been archived by the owner on Aug 24, 2021. It is now read-only.

Commit

Permalink
fixed doctype/encoding in test58
Browse files Browse the repository at this point in the history
  • Loading branch information
mnater committed Oct 16, 2014
1 parent d0ee409 commit 0eff3ee
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions testsuite/files/test58_trans.xsl
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:output method="html"
encoding="UTF-8"
doctype-public="-//W3C//DTD HTML 4.01//EN"
doctype-system="http://www.w3.org/TR/html4/strict.dtd"/>
<xsl:template match="/">
<html lang="de">
<head>
<title>Hyphenator.js - Test 58</title>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<style type="text/css">
body {
width:50%;
Expand All @@ -24,7 +27,7 @@
<![CDATA[
if (parent != window) {
Hyphenator.config({
'onhyphenationdonecallback': function () {
'onhyphenationdonecallback': function () {
var t1 = document.getElementById('test').innerHTML,
t2 = document.getElementById('ref').innerHTML,
desc = document.getElementById('desc').firstChild.data,
Expand Down
2 changes: 1 addition & 1 deletion testsuite/test58.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="files/test58_trans.xsl"?>
<wordlist>
<word>
Expand Down

0 comments on commit 0eff3ee

Please sign in to comment.