Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • M MathJax
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 304
    • Issues 304
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • MathJax
  • MathJax
  • Issues
  • #1087
Closed
Open
Issue created Mar 10, 2015 by Administrator@rootContributor

<wbr> tags

Created by: mark-wade

I am a developer for a forum software which, to prevent long user-provideds topic titles with no spaces from breaking the layout, inserts wbr tags every 20 characters in words in titles that are longer than that. For example, if a user creates a title "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", it will get rendered as "aaaaaaaaaaaaaaaaaaaa-wbr-aaaaaaaaaaaaaaaaaaaa" (am using "-wbr-" rather than the actual tag as GitHub seems to parse it)

A bug report was submitted to us that this causes MathJax to not work correctly: http://community.invisionpower.com/4bugtrack/wbrwbr-randomly-added-to-topic-titles-after-upgrading-r3931/

The HTML5 tag represents a word-break oppertunity within text. Since MathJax modifies the content, it would be appropriate for it to ignore such tags within the content it intends to replace.

Assignee
Assign to
Time tracking