mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-20 01:30:07 +00:00
Don't render consecutive blanks inside links.
This commit is contained in:
parent
a56af59f40
commit
a9f88a05d6
@ -305,7 +305,9 @@ do_word(void)
|
|||||||
{
|
{
|
||||||
if(s.wordlen > 0) {
|
if(s.wordlen > 0) {
|
||||||
if(s.majorstate == MAJORSTATE_LINK) {
|
if(s.majorstate == MAJORSTATE_LINK) {
|
||||||
add_char(ISO_space);
|
if(s.word[s.wordlen - 1] != ISO_space) {
|
||||||
|
add_char(ISO_space);
|
||||||
|
}
|
||||||
} else if(s.majorstate == MAJORSTATE_DISCARD) {
|
} else if(s.majorstate == MAJORSTATE_DISCARD) {
|
||||||
s.wordlen = 0;
|
s.wordlen = 0;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user