Skip to content

Commit

Permalink
Merge branch 'main' into rmlabel
Browse files Browse the repository at this point in the history
  • Loading branch information
GiteaBot authored Mar 27, 2024
2 parents 81ea699 + 400bb7c commit 6f83ea3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
14 changes: 10 additions & 4 deletions modules/markup/markdown/transform_blockquote.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,16 @@ func (g *ASTTransformer) transformBlockquote(v *ast.Blockquote, reader text.Read
if firstParagraph.ChildCount() < 3 {
return ast.WalkContinue, nil
}
node1, ok1 := firstParagraph.FirstChild().(*ast.Text)
node2, ok2 := node1.NextSibling().(*ast.Text)
node3, ok3 := node2.NextSibling().(*ast.Text)
if !ok1 || !ok2 || !ok3 {
node1, ok := firstParagraph.FirstChild().(*ast.Text)
if !ok {
return ast.WalkContinue, nil
}
node2, ok := node1.NextSibling().(*ast.Text)
if !ok {
return ast.WalkContinue, nil
}
node3, ok := node2.NextSibling().(*ast.Text)
if !ok {
return ast.WalkContinue, nil
}
val1 := string(node1.Segment.Value(reader.Source()))
Expand Down
3 changes: 0 additions & 3 deletions web_src/css/review.css
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,6 @@
}

@media (max-width: 767.98px) {
.comment-code-cloud .comments .comment {
display: flex;
}
.comment-code-cloud .comments .comment .comment-header-right.actions .ui.basic.label {
display: none;
}
Expand Down

0 comments on commit 6f83ea3

Please sign in to comment.