Gnus development mailing list
 help / color / mirror / Atom feed
* shr: Deep nested table + Han wrapping = infinite loop
@ 2010-11-25 12:37 Kan-Ru Chen
  2010-11-25 14:45 ` Katsumi Yamaoka
  0 siblings, 1 reply; 2+ messages in thread
From: Kan-Ru Chen @ 2010-11-25 12:37 UTC (permalink / raw)
  To: ding


Hi,

The following html was extracted from one of my emails, which caused
emacs to loop for ever.

#v+
<html><table><tr><td><table><tr><td><table><tr><td><table>
<tr><td></td><td>適合所有人使用的行程管理系統—wwwwwwww</td>
</tr></table></table></table></table></html>
#v-

Which seems caused by the Han wrapping code. Because when I delete one 'w'
character, the `shr-insert-document' renders fine:

#v+
+---------------------------------+
|+-----------------+              |
||+-------------+  |              |
|||++----------+|  |              |
|||||適合所有人||  |              |
|||||使用的行程||  |              |
|||||管理系    ||  |              |
|||||統—wwwwwww||  |              |
|||++----------+|  |              |
||+-------------+  |              |
|+-----------------+              |
+---------------------------------+
#v-

Cheers,
Kanru

-- 
A badly written book is only a blunder. A bad translation of a good
book is a crime.
                -- Gilbert Highet




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: shr: Deep nested table + Han wrapping = infinite loop
  2010-11-25 12:37 shr: Deep nested table + Han wrapping = infinite loop Kan-Ru Chen
@ 2010-11-25 14:45 ` Katsumi Yamaoka
  0 siblings, 0 replies; 2+ messages in thread
From: Katsumi Yamaoka @ 2010-11-25 14:45 UTC (permalink / raw)
  To: ding

Kan-Ru Chen <kanru@kanru.info> wrote:

> The following html was extracted from one of my emails, which caused
> emacs to loop for ever.

> #v+
> <html><table><tr><td><table><tr><td><table><tr><td><table>
> <tr><td></td><td>適合所有人使用的行程管理系統―wwwwwwww</td>
> </tr></table></table></table></table></html>
> #v-

Fixed in git.  Thank you for pointing it out.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-11-25 14:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-25 12:37 shr: Deep nested table + Han wrapping = infinite loop Kan-Ru Chen
2010-11-25 14:45 ` Katsumi Yamaoka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).