Skip to content

Commit

Permalink
🎨 Custom dom, which will be omitted when build tree #206
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Aug 8, 2024
1 parent 98a338c commit a09d4a0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion javascript/lute.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion javascript/lute.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion protyle.go
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ func (lute *Lute) blockDOM2Md(htmlStr string) (markdown string) {
func (lute *Lute) genASTByBlockDOM(n *html.Node, tree *parse.Tree) {
class := util.DomAttrValue(n, "class")

//Custom dom, which will be omitted when build tree
// Custom dom, which will be omitted when build tree https://github.com/88250/lute/issues/206
if strings.Contains(class, "protyle-custom") {
return
}
Expand Down

0 comments on commit a09d4a0

Please sign in to comment.