You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ends up generating invalid html by prematurely closing </head> and dumping all head contents into <body>.
Cause: libxml2[-dev]-2.9.0 on Ubuntu 13.04 (and probably other stuffs).
Solution: installed synaptic and added quantal repositories. Then used synaptic to force libxml2 to 2.8.0, also required downgrading of libxslt since it uses libxml2 as a dep.
Now outputting HTML correctly.
The text was updated successfully, but these errors were encountered:
My guess is this is because LibXML2 2.9.0+ is actually being more strict (correct?) about what is allowed in <head> like in my comment on #84 (comment)
This changes the ERB template parser to use `<erb>` rather than `<code>`
to designate code blocks in a template.
For example:
<%= render template: 'foo/bar' %>
Used to parse as:
<code erb-loud> render template: 'foo/bar' </code>
But not parses as:
<erb erb-loud> render template: 'foo/bar' </erb>
This fixes a number of problems that result from using `<code>`:
* There may be </code> tags in the original ERB, which would be turned
into `%>`
(Fixesspree#101)
* Any <code> tags in the <head> of a document would be moved to the
body, since <code> is a real HTML tag, and isn't allowed in the head.
This happens in nokogiri under jRuby or libXML 2.9.0
(Fixesspree#84, Fixesspree#100)
Symptoms identical to #84.
Ends up generating invalid html by prematurely closing
</head>
and dumping all head contents into<body>
.Cause: libxml2[-dev]-2.9.0 on Ubuntu 13.04 (and probably other stuffs).
Solution: installed
synaptic
and addedquantal
repositories. Then usedsynaptic
to force libxml2 to 2.8.0, also required downgrading of libxslt since it uses libxml2 as a dep.Now outputting HTML correctly.
The text was updated successfully, but these errors were encountered: