Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ImportedProjects
SVG
Commits
0d6779d5
Commit
0d6779d5
authored
10 years ago
by
Ritch Melton
Browse files
Options
Download
Email Patches
Plain Diff
Inverted test
parent
9b224b2b
master
netstandard2
nuget2.4.2
nuget2.4.1
nuget2.4
nuget2.3
nuget2.2.2
nuget2.2.1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Source/Text/SvgTextBase.cs
+1
-1
Source/Text/SvgTextBase.cs
with
1 addition
and
1 deletion
+1
-1
Source/Text/SvgTextBase.cs
+
1
-
1
View file @
0d6779d5
...
...
@@ -297,7 +297,7 @@ namespace Svg
{
//if there is a TSpan inside of this text element then path should not be null (even if this text is empty!)
var
nodes
=
GetContentNodes
().
Where
(
x
=>
x
is
SvgContentNode
)
.
Select
(
n
=>
string
.
IsNullOrEmpty
(
n
.
Content
.
Trim
(
new
[]
{
'\r'
,
'\n'
,
'\t'
})));
.
Select
(
n
=>
!
string
.
IsNullOrEmpty
(
n
.
Content
.
Trim
(
new
[]
{
'\r'
,
'\n'
,
'\t'
})));
if
(
_path
==
null
||
IsPathDirty
||
nodes
.
Any
())
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help