Skip to content

Commit

Permalink
Merge branch 'fix-raw-tex'
Browse files Browse the repository at this point in the history
* fix-raw-tex:
  UI: xbcomments.js: properly quote special characters in docs
  DOC: Makefile.mk: do not parse source comments as raw_tex

Signed-off-by: Tim Janik <[email protected]>
  • Loading branch information
tim-janik committed Aug 19, 2023
2 parents b554e80 + 8e08004 commit 64882dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/Makefile.mk
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ $>/doc/jsdocs.md: $(doc/jsdocs_md) doc/Makefile.mk
(echo && cat $$f && echo ) >> $@.tmp \
|| exit 1 ; done
$Q # Use pandoc to convert markdown *without* raw_html to regular markdown with escaped angle brackets
$Q pandoc -p -f markdown+compact_definition_lists+autolink_bare_uris+emoji+lists_without_preceding_blankline-smart-raw_html \
$Q pandoc -p -f markdown+compact_definition_lists+autolink_bare_uris+emoji+lists_without_preceding_blankline-smart-raw_html-raw_tex \
-t markdown+autolink_bare_uris+emoji+lists_without_preceding_blankline-smart $@.tmp > $@.tmp2
$Q mv $@.tmp2 $@

Expand Down
2 changes: 1 addition & 1 deletion ui/xbcomments.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function lrstrip (str)
return str.replaceAll (/^[\s\t\f]+|[\s\t\f]+$/g, '');
}

/// Remove C-comment style \n\s\*\s
/// Remove C-comment style `\n\s\*\s`
function fix_indent (txt)
{
txt = lrstrip (txt);
Expand Down

0 comments on commit 64882dc

Please sign in to comment.