-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
I haven't figured out exactly what the problem is, but I do have a reproducible test.
# in test_views/views.py
@test_views.route('/test_views/html_compress_bug1')
def html_compres_bug1():
return render_template('test_views/html_compress_bug1.html', broken='other')<!-- Stored in test_views/html_compress_bug1.html -->
<html>
<head>
<title>Test</title>
<style type="text/css">
.alert-messageother {
background-color: #ff0000;
}
.other {
background-color: #00ff00;
}
</style>
</head>
<body>
<div class="alert-message{{' '}}{{broken}}">
<p>Forced a space, this works</p>
</div>
<div class="alert-message {{broken}}">
<p>Space nuked</p>
</div>
</body>
</html>Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels