{"action":"created","issue":{"url":"https://api.github.com/repos/mathjax/MathJax/issues/1017","labels_url":"https://api.github.com/repos/mathjax/MathJax/issues/1017/labels{/name}","comments_url":"https://api.github.com/repos/mathjax/MathJax/issues/1017/comments","events_url":"https://api.github.com/repos/mathjax/MathJax/issues/1017/events","html_url":"https://github.com/mathjax/MathJax/issues/1017","id":55162318,"number":1017,"title":"Linebreaking issues with `flex: 0 1 auto;` [was: disable automatic 'linebreaks' with MathJax for specific formulas]","user":{"login":"scaljeri","id":1078741,"avatar_url":"https://avatars.githubusercontent.com/u/1078741?v=3","gravatar_id":"","url":"https://api.github.com/users/scaljeri","html_url":"https://github.com/scaljeri","followers_url":"https://api.github.com/users/scaljeri/followers","following_url":"https://api.github.com/users/scaljeri/following{/other_user}","gists_url":"https://api.github.com/users/scaljeri/gists{/gist_id}","starred_url":"https://api.github.com/users/scaljeri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scaljeri/subscriptions","organizations_url":"https://api.github.com/users/scaljeri/orgs","repos_url":"https://api.github.com/users/scaljeri/repos","events_url":"https://api.github.com/users/scaljeri/events{/privacy}","received_events_url":"https://api.github.com/users/scaljeri/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mathjax/MathJax/labels/Expected%20Behavior","name":"Expected Behavior","color":"3463b3"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-22T14:55:00Z","updated_at":"2015-01-26T09:27:37Z","closed_at":null,"body":"I noticed that when automatic linebreaks is turned on \r\n\r\n    'HTML-CSS': {linebreaks: {automatic: true}}    \r\n\r\nformulas rendered inside inline elements will get unwanted line breaks ( [DEMO](http://jsfiddle.net/Cfrrf/19/))\r\n\r\nIn my case I render formules as follows:\r\n\r\n    element.html(html); // insert the html\r\n    $timeout(function () { // timeout to make sure it is in the DOM\r\n         MathJax.Hub.Queue(['Typeset', MathJax.Hub, element.get(0)], cb);\r\n    });\r\n\r\nIs it possible to disable linebreaks for specific formulas or for formulas rendered in inline elements? If not, this would be a nice feature to have! "},"comment":{"url":"https://api.github.com/repos/mathjax/MathJax/issues/comments/71433397","html_url":"https://github.com/mathjax/MathJax/issues/1017#issuecomment-71433397","issue_url":"https://api.github.com/repos/mathjax/MathJax/issues/1017","id":71433397,"user":{"login":"scaljeri","id":1078741,"avatar_url":"https://avatars.githubusercontent.com/u/1078741?v=3","gravatar_id":"","url":"https://api.github.com/users/scaljeri","html_url":"https://github.com/scaljeri","followers_url":"https://api.github.com/users/scaljeri/followers","following_url":"https://api.github.com/users/scaljeri/following{/other_user}","gists_url":"https://api.github.com/users/scaljeri/gists{/gist_id}","starred_url":"https://api.github.com/users/scaljeri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scaljeri/subscriptions","organizations_url":"https://api.github.com/users/scaljeri/orgs","repos_url":"https://api.github.com/users/scaljeri/repos","events_url":"https://api.github.com/users/scaljeri/events{/privacy}","received_events_url":"https://api.github.com/users/scaljeri/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T09:27:37Z","updated_at":"2015-01-26T09:27:37Z","body":"Thanks a lot for pointing this out! Now I understand, except for one last thing! which is when I display an equation inline, I still get a linebreak  ([JSFIDDLE](http://jsfiddle.net/Cfrrf/26/)) As mentioned above, Mathjax only performs linebreaking to displaystyled elements. What is it that I do wrong here ?"}}