mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-26 06:49:22 +00:00
Enable again BBcode parsing
This commit is contained in:
parent
d4a39a3527
commit
e1795bac03
@ -1,4 +1,5 @@
|
||||
import 'package:comunic/models/displayed_content.dart';
|
||||
import 'package:comunic/utils/bbcode_parser.dart';
|
||||
import 'package:comunic/utils/input_utils.dart';
|
||||
import 'package:comunic/utils/navigation_utils.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
@ -36,11 +37,11 @@ class TextWidget extends StatelessWidget {
|
||||
var content = this.content.parsedString;
|
||||
|
||||
// Parse BBcode
|
||||
/*if (parseBBcode)
|
||||
if (parseBBcode)
|
||||
return BBCodeParsedWidget(
|
||||
text: content,
|
||||
parseCallback: (style, text) => _parseLinks(context, text, style),
|
||||
);*/
|
||||
);
|
||||
|
||||
// Just parse link
|
||||
return RichText(
|
||||
|
Loading…
Reference in New Issue
Block a user