From ccb15475232328b621842db05e783cb4b4c04e14 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Fri, 8 May 2020 09:32:45 +0200 Subject: [PATCH] Disable BBCode parsing --- lib/ui/widgets/text_widget.dart | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/ui/widgets/text_widget.dart b/lib/ui/widgets/text_widget.dart index 21dd512..8e5b892 100644 --- a/lib/ui/widgets/text_widget.dart +++ b/lib/ui/widgets/text_widget.dart @@ -1,5 +1,4 @@ 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,12 +35,12 @@ class TextWidget extends StatelessWidget { var content = this.content.parsedString; - // Parse BBcode + /*// Parse BBcode if (parseBBcode) return BBCodeParsedWidget( text: content, parseCallback: (style, text) => _parseLinks(context, text, style), - ); + );*/ // Just parse link return RichText(