Skip to content

Commit

Permalink
🎨 Protyle Improve inline formulas input siyuan-note/siyuan#8972
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Aug 16, 2023
1 parent fa16742 commit ac1fc9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/lute.min.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions render/protyle_renderer.go
Original file line number Diff line number Diff line change
Expand Up @@ -1857,6 +1857,7 @@ func (r *ProtyleRenderer) renderTextMarkAttrs(node *ast.Node) (attrs [][]string)
inlineMathContent = strings.ReplaceAll(inlineMathContent, "\\|", "|")
inlineMathContent = strings.ReplaceAll(inlineMathContent, "\n", "<br/>")
}
// Improve inline formulas input https://github.com/siyuan-note/siyuan/issues/8972
//inlineMathContent = strings.ReplaceAll(inlineMathContent, editor.Caret, "")
inlineMathContent = strings.ReplaceAll(inlineMathContent, "\"", "&amp;quot;")
attrs = append(attrs, []string{"data-content", inlineMathContent})
Expand Down

0 comments on commit ac1fc9a

Please sign in to comment.