# mspace linebreak despite dimension #388

Closed
opened this issue Feb 8, 2013 · 4 comments

Projects
None yet
3 participants
Member

### pkra commented Feb 8, 2013

 IIUC, $12$  should not produce a linebreak according to MML specs.
Contributor

### fred-wang commented Feb 11, 2013

 Yes, I think you're right. "Specifies the desirability of a linebreak at this space. This attribute should be ignored if any dimensional attribute is set."
Member

### dpvc commented Feb 11, 2013

 OK, that looks right. The line breaking should be ignored if one of the dimensions is given explicitly (this phrase was not present when I wrote the code to process explicit line breaks — I should probably get a fresh copy of the spec for reference, since there are some changes since I downloaded mine). That should not be too hard to fix. That would require modifications to the hasNewLine method of the MML.mspace object in the mml element jax jax.js file, and the HTMLbetterBreak and SVGbetterBreak methods added to mspace in the multiline.js files for the HTML-CSS and SVG output jax.
Contributor

### fred-wang commented Mar 25, 2013

 => In testsuite
Contributor

### fred-wang commented Mar 25, 2013

 MathMLToDisplay/Topics/LineBreak/issue388.html

### dpvc pushed a commit to dpvc/MathJax that referenced this issue Apr 1, 2013

 Merge remote-tracking branch 'fred/issue388' into develop 
Resolves issue mathjax#388.
 c275962