combined: Leave the screen_char attributes unchanged.
commit2fd3e0b3b3ce3bb9689df267c122f7097f7ab3e1
authorKalle Olavi Niemitalo <kon@iki.fi>
Thu, 10 Jan 2008 21:12:47 +0000 (10 23:12 +0200)
committerKalle Olavi Niemitalo <Kalle@Astalo.kon.iki.fi>
Sat, 19 Jan 2008 18:50:10 +0000 (19 20:50 +0200)
tree452ead639107b8d93008c5a6bdf578e210cc2731
parent83a4d815aede28a93bc2051c755db4c16034e879
combined: Leave the screen_char attributes unchanged.

The previous code displayed the wrong attributes if the combining
characters were at the end of an HTML link.  For example:

  <a href="#">trickỹ</a> more text <a href="#">second link</a>

  (The characters in the first A element are "tricky" and U+0303
  COMBINING TILDE.)

Here, when the cursor was not at the first link, ELinks displayed
the y-with-tilde cell as if it were not part of the link.
This happened because ELinks had already changed schar->attr
before set_line saw the space character after the link and
flushed document->combi[].
src/document/html/renderer.c