Skip to content
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

“Caps” filter does not respect consecutive abbreviations #47

Open
andreyshipilov opened this issue Nov 8, 2016 · 0 comments
Open

Comments

@andreyshipilov
Copy link

How to reproduce using Django:

Django View

def view(request):
    context = {'text': 'Text with ABBREV IATURE.'}
    return render(request, 'template.html', context)

Django Template

{% load typogrify_tags %}
{{ text|typogrify }}

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant