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

Support styled text in titles #225

mfenner opened this issue Jan 6, 2015 · 0 comments

Support styled text in titles #225

mfenner opened this issue Jan 6, 2015 · 0 comments


Copy link

@mfenner mfenner commented Jan 6, 2015

As we are using CSL (Citation-Style Language) to store and display works, we should also support styled text in titles using the CSL approach:

  • <b> - bold
  • <i> - italics
  • <sc> - small-caps
  • <sub> - subscript
  • <sup> - superscript

<sc> is obviously not a proper HTML tag, and should be displayed as <span style="font-variant: small-caps;">Text</span>.

To implement this we need to:

  • support styled text in our import filters
  • don't strip out those tags when we sanitize the title
  • display styling correctly in the frontend
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.