mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:06:00 +00:00
iOS: Removing event id links (#509)
* removing unused event id link * changelog * Revert "removing unused event id link" This reverts commit aacd1124498674662123d5598604ef8bfcdfe02e. * commented the event id add link code * better changelog * commenting a tes that is related to the use of event id links which we don't handle for now
This commit is contained in:
@@ -179,13 +179,14 @@ class AttributedStringBuilderTests: XCTestCase {
|
||||
checkMatrixEntityLinkIn(attributedString: attributedStringBuilder.fromHTML(string), expected: roomId)
|
||||
checkMatrixEntityLinkIn(attributedString: attributedStringBuilder.fromPlain(string), expected: roomId)
|
||||
}
|
||||
|
||||
func testEventIdLink() {
|
||||
let eventId = "$eventidentifier"
|
||||
let string = "The event is \(eventId)."
|
||||
checkMatrixEntityLinkIn(attributedString: attributedStringBuilder.fromHTML(string), expected: eventId)
|
||||
checkMatrixEntityLinkIn(attributedString: attributedStringBuilder.fromPlain(string), expected: eventId)
|
||||
}
|
||||
|
||||
// As of right now we do not handle event id links in any way so there is no need to add them as links
|
||||
// func testEventIdLink() {
|
||||
// let eventId = "$eventidentifier"
|
||||
// let string = "The event is \(eventId)."
|
||||
// checkMatrixEntityLinkIn(attributedString: attributedStringBuilder.fromHTML(string), expected: eventId)
|
||||
// checkMatrixEntityLinkIn(attributedString: attributedStringBuilder.fromPlain(string), expected: eventId)
|
||||
// }
|
||||
|
||||
func testDefaultFont() {
|
||||
let htmlString = "<b>Test</b> <i>string</i>."
|
||||
|
||||
Reference in New Issue
Block a user