committed by
William Casarin
parent
6e709058c0
commit
58b4d57f32
@@ -115,7 +115,7 @@ func parse_mentions(content: String, tags: [[String]]) -> [Block] {
|
|||||||
blocks_init(&bs)
|
blocks_init(&bs)
|
||||||
|
|
||||||
let bytes = content.utf8CString
|
let bytes = content.utf8CString
|
||||||
bytes.withUnsafeBufferPointer { p in
|
let _ = bytes.withUnsafeBufferPointer { p in
|
||||||
damus_parse_content(&bs, p.baseAddress)
|
damus_parse_content(&bs, p.baseAddress)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user