saminsohag

multiline latex bug fix

  1 +## 1.0.3
  2 +
  3 +* Multiline latex syntax bug fix.
  4 +
1 ## 1.0.2 5 ## 1.0.2
2 6
3 * Readme updated. 7 * Readme updated.
@@ -126,7 +126,7 @@ packages: @@ -126,7 +126,7 @@ packages:
126 path: ".." 126 path: ".."
127 relative: true 127 relative: true
128 source: path 128 source: path
129 - version: "1.0.1" 129 + version: "1.0.3"
130 http: 130 http:
131 dependency: transitive 131 dependency: transitive
132 description: 132 description:
@@ -522,7 +522,7 @@ class ItalicMd extends InlineMd { @@ -522,7 +522,7 @@ class ItalicMd extends InlineMd {
522 522
523 class LatexMathMultiLine extends BlockMd { 523 class LatexMathMultiLine extends BlockMd {
524 @override 524 @override
525 - String get expString => (r"\\\[(((?!\n\n).)*)\\\]|(\\begin.*?\\end{.*?})"); 525 + String get expString => (r"\\\[(((?!\n\n).)*?)\\\]|(\\begin.*?\\end{.*?})");
526 @override 526 @override
527 RegExp get exp => RegExp(expString, dotAll: true, multiLine: true); 527 RegExp get exp => RegExp(expString, dotAll: true, multiLine: true);
528 528
1 name: gpt_markdown 1 name: gpt_markdown
2 description: "Powerful Markdown & LaTeX Renderer for Flutter: Rich Text, Math, Tables, Links, and Text Selection. Ideal for ChatGPT, Gemini, and more." 2 description: "Powerful Markdown & LaTeX Renderer for Flutter: Rich Text, Math, Tables, Links, and Text Selection. Ideal for ChatGPT, Gemini, and more."
3 -version: 1.0.2 3 +version: 1.0.3
4 homepage: https://github.com/Infinitix-LLC/gpt_markdown 4 homepage: https://github.com/Infinitix-LLC/gpt_markdown
5 5
6 environment: 6 environment: