TF-4378 Migrate scribe-mobile branch to master branch

This commit is contained in:
dab246
2026-03-16 11:45:14 +07:00
committed by Dat H. Pham
parent d0cc14beb4
commit 28d5036667
29 changed files with 223 additions and 189 deletions
+2 -2
View File
@@ -258,8 +258,8 @@ class StringConvert {
}
static String convertTextContentToHtmlContent(String textContent) {
final htmlContent = textContent.replaceAll('\n', '<br>');
final escapedText = escapeTextContent(textContent);
final htmlContent = escapedText.replaceAll('\n', '<br>');
return '<div>$htmlContent</div>';
}
}