Merge branch 'master' into profile-markdown

This commit is contained in:
Lio李歐 authored and GitHub committed 2022-12-29 09:57:54 -08:00
commit a94b698e9d
42 files changed
+568 -48

No files matched your search

+8
View File
@@ -53,6 +53,14 @@ class ReplyTests: XCTestCase {
XCTAssertEqual(blocks[0].is_text, content)
}
func testAtAtEnd() {
let content = "what @"
let blocks = parse_post_blocks(content: content)
XCTAssertEqual(blocks.count, 1)
XCTAssertEqual(blocks[0].is_text, "what @")
}
func testHashtagsInQuote() {
let content = "This is my \"#awesome post\""
let blocks = parse_post_blocks(content: content)