mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-29 16:26:27 +00:00
Disable BBCode parsing
This commit is contained in:
parent
f41983304a
commit
ccb1547523
@ -1,5 +1,4 @@
|
|||||||
import 'package:comunic/models/displayed_content.dart';
|
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/input_utils.dart';
|
||||||
import 'package:comunic/utils/navigation_utils.dart';
|
import 'package:comunic/utils/navigation_utils.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
@ -36,12 +35,12 @@ class TextWidget extends StatelessWidget {
|
|||||||
|
|
||||||
var content = this.content.parsedString;
|
var content = this.content.parsedString;
|
||||||
|
|
||||||
// Parse BBcode
|
/*// Parse BBcode
|
||||||
if (parseBBcode)
|
if (parseBBcode)
|
||||||
return BBCodeParsedWidget(
|
return BBCodeParsedWidget(
|
||||||
text: content,
|
text: content,
|
||||||
parseCallback: (style, text) => _parseLinks(context, text, style),
|
parseCallback: (style, text) => _parseLinks(context, text, style),
|
||||||
);
|
);*/
|
||||||
|
|
||||||
// Just parse link
|
// Just parse link
|
||||||
return RichText(
|
return RichText(
|
||||||
|
Loading…
Reference in New Issue
Block a user