Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
gpt_markdown
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
顾海波
2025-04-03 18:45:03 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0bf4406d2f8ebae66f292c1ea2f4dffc2e654672
0bf4406d
1 parent
730d827b
【修复】斜体匹配规则
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
lib/markdown_component.dart
lib/markdown_component.dart
View file @
0bf4406
...
...
@@ -555,7 +555,7 @@ class StrikeMd extends InlineMd {
class
ItalicMd
extends
InlineMd
{
@override
RegExp
get
exp
=>
RegExp
(
r"(?<!\*)\*(?<!\s)(
.+?)(?<!\s)\*(?!\*)|\_(?<!\s)(.
+?)(?<!\s)\_"
,
r"(?<!\*)\*(?<!\s)(
[^\n*]+?)(?<!\s)\*(?!\*)|\_(?<!\s)([^\n_]
+?)(?<!\s)\_"
,
dotAll:
true
,
);
...
...
Please
register
or
login
to post a comment