Open andreyshipilov opened 8 years ago
How to reproduce using Django:
def view(request): context = {'text': 'Text with ABBREV IATURE.'} return render(request, 'template.html', context)
{% load typogrify_tags %} {{ text|typogrify }}
Text with <span class="caps">ABBREV</span><span class="caps">IATURE</span>.
Text with <span class="caps">ABBREV</span> <span class="caps">IATURE</span>.
Notice the space between span tags in the expected output.
How to reproduce using Django:
Django View
Django Template
Output
Text with <span class="caps">ABBREV</span><span class="caps">IATURE</span>.
Expected output
Text with <span class="caps">ABBREV</span> <span class="caps">IATURE</span>.
Notice the space between span tags in the expected output.