Skip to content

Commit

Permalink
breaking non-space added to fix bold return on 541 (source-academy#726)
Browse files Browse the repository at this point in the history
* breaking non-space added

* breaking non-space added
  • Loading branch information
martin-henz authored Dec 8, 2021
1 parent 4ee0dbf commit ab9e4f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion javascript/processingFunctions/replaceTagWithSymbol.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ const tagsToReplaceDefault = {
BREAK: "\n",

SPACE: "~",
FIXED_SPACE: "{\\tt~}"
FIXED_SPACE: "{\\tt~}",

BREAKINGNONSPACE: "{\\hspace{0pt}}"
};

const tagsToReplacePdf = {
Expand Down
2 changes: 1 addition & 1 deletion xml/chapter5/section5/subsection3.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1100,7 +1100,7 @@ go_to(reg("val")),
at
<SPLITINLINE>
<SCHEME><SCHEMEINLINE>proc-return</SCHEMEINLINE></SCHEME>
<JAVASCRIPT><JAVASCRIPTINLINE>fun_@return</JAVASCRIPTINLINE>
<JAVASCRIPT><JAVASCRIPTINLINE>fun_</JAVASCRIPTINLINE><BREAKINGNONSPACE/><TT>return</TT><SPACE/>
</JAVASCRIPT>
</SPLITINLINE>
would have gone.)
Expand Down

0 comments on commit ab9e4f8

Please sign in to comment.