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

Already on GitHub? Sign in to your account

PyJade incorrectly interprets <blockquote> tag as a block #58

bradenmacdonald opened this Issue Jan 1, 2013 · 3 comments


None yet
3 participants

In PyJade, <blockquote> tags get incorrectly interpreted as template blocks, and not as HTML elements.


import pyjade
pyjade.ext.html.process_jade('blockquote\n  p test')


{% block quote %}
{% endblock %}

Expected result:


drdaeman commented Jan 1, 2013

I believe the bug was introduced by this recent change: 533ee80#L3L28 (so, sorry, seems that I'm the one responsible for this as this was my pull request)

Proper regexp should include \b as shown at pugjs/pug@6b6f759

Don't know why I've missed this. :(


syrusakbary commented Jan 2, 2013

I will check this later!

@syrusakbary syrusakbary reopened this Jan 2, 2013


syrusakbary commented Jan 2, 2013

Is not really fixed... working on that

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