mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-03 11:40:44 +03:00
Merge branch 'development' of https://github.com/ecency/ecency-mobile into sa/transfer-points-custom-json
This commit is contained in:
commit
54f339bcf7
@ -41,7 +41,11 @@ export const PostHtmlRenderer = memo(
|
||||
const postImgUrlsRef = useRef<string[]>([]);
|
||||
|
||||
// new renderer functions
|
||||
body = body.replace(/<center>/g, '<div class="text-center">').replace(/<\/center>/g, '</div>');
|
||||
body = body
|
||||
.replace(/<center>/g, '<div class="text-center">')
|
||||
.replace(/<\/center>/g, '</div>')
|
||||
.replace(/<span>/g, '')
|
||||
.replace(/<\/span>/g, '');
|
||||
|
||||
console.log('Comment body:', body);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user