OSDN Git Service
(root)
/
nt2chview
/
stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7be201
)
fix: failed to recognize the region of 2ch style link refference.
author
akira001
<akohta001@gmail.com>
Tue, 17 Sep 2013 10:30:24 +0000
(19:30 +0900)
committer
akira001
<akohta001@gmail.com>
Tue, 17 Sep 2013 10:30:24 +0000
(19:30 +0900)
NT2chCtrl45/html/HtmlElement_2chparser.cs
patch
|
blob
|
history
diff --git
a/NT2chCtrl45/html/HtmlElement_2chparser.cs
b/NT2chCtrl45/html/HtmlElement_2chparser.cs
index
9bbce4d
..
c164b21
100755
(executable)
--- a/
NT2chCtrl45/html/HtmlElement_2chparser.cs
+++ b/
NT2chCtrl45/html/HtmlElement_2chparser.cs
@@
-318,9
+318,9
@@
namespace NT2chCtrl.html
hElem.addAttribute(hAttr);
\r
hElem.setClosed(true);
\r
if (state == 3)
\r
- textStart = i - 2;
\r
- else if (state == 2)
\r
textStart = i - 1;
\r
+ else if (state == 2)
\r
+ textStart = i;
\r
sElem = new StringElement(hElem, source.Substring(textEnd, textStart - textEnd));
\r
}
\r
state = 0;
\r