Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doxverilog
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
doxverilog
Commits
8309fbd9
Commit
8309fbd9
authored
Jan 26, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 722788 - Command \| not working when last character in markdown table line
parent
60ea06a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
markdown.cpp
src/markdown.cpp
+1
-1
No files found.
src/markdown.cpp
View file @
8309fbd9
...
...
@@ -1467,7 +1467,7 @@ int findTableColumns(const char *data,int size,int &start,int &end,int &columns)
eol
=
i
+
1
;
i
--
;
while
(
i
>
0
&&
data
[
i
]
==
' '
)
i
--
;
if
(
i
>
0
&&
data
[
i
]
==
'|'
)
i
--
,
n
++
;
// trailing
| does not count
if
(
i
>
0
&&
data
[
i
-
1
]
!=
'\\'
&&
data
[
i
]
==
'|'
)
i
--
,
n
++
;
// trailing or escaped
| does not count
end
=
i
;
// count columns between start and end
...
...
Write
Preview
Markdown
is supported
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