mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
Clearify the code a bit
This commit is contained in:
parent
dc10be626e
commit
58c31f44a0
@ -135,8 +135,10 @@ scan_sgml_text_token(struct dom_scanner *scanner, struct dom_scanner_token *toke
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
if (is_sgml_space(first_char)) {
|
if (is_sgml_space(first_char)) {
|
||||||
if (scanner->count_lines)
|
if (scanner->count_lines
|
||||||
string--;
|
&& is_sgml_newline(first_char))
|
||||||
|
scanner->lineno++;
|
||||||
|
|
||||||
skip_sgml_space(scanner, &string);
|
skip_sgml_space(scanner, &string);
|
||||||
type = string < scanner->end && is_sgml_text(*string)
|
type = string < scanner->end && is_sgml_text(*string)
|
||||||
? SGML_TOKEN_TEXT : SGML_TOKEN_SPACE;
|
? SGML_TOKEN_TEXT : SGML_TOKEN_SPACE;
|
||||||
|
Loading…
Reference in New Issue
Block a user