New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to bring back HTML with no DOCTYPE #11

Closed
croaky opened this Issue Mar 30, 2010 · 1 comment

Comments

Projects
None yet
2 participants
@croaky

croaky commented Mar 30, 2010

Right now, rendering with Effigy brings back the DOCTYPE, html, and body tags. My use case is on an Ajax call which just returns an HTML fragment that jQuery then replaces in the DOM. The extra tags around it messes up.

My current hack is:

def output
  current_context.to_html.sub(/.*<body>/, '').sub(/<\/body>.*/, '')
end
@jferris

This comment has been minimized.

Show comment
Hide comment
@jferris

jferris Mar 31, 2010

Owner

Fixed by 978fd82

Owner

jferris commented Mar 31, 2010

Fixed by 978fd82

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment