> There is no correct. I decide what I want. How do I add a
> style?
FYI. For example, this patch adds two styles
(for pre-format and that have style {white-space:pre}).
https://gist.github.com/deton/ebc9d4b4af6c216bd49cdb656a9b0ebc
--
KIHARA, Hideto / de...@m1.interq.or.jp
UTF-8 bookmark title is not accepted occasionally
after searching UTF-8 string.
Attached patch-a or patch-b fixes this problem.
(I noticed this problem some years ago.)
* How to reproduce:
lynx -display_charset=utf-8 -cmd_script=./cmd_log ./bkm.html
Commands in cmd_log file:
+ Input /α^J to
> > Does "document_charset" come from charset defined within of web
> > page, e.g., ?
document_charset comes from
1. HTTP header: Content-Type: text/html; charset=UTF-8
if header does not contain charset,
2. HTML:
or
if charset is not defined in HTML,
3. BOM (Byte Order Mark) for
> I wrote an additional patch to avoid adding spaces
> when joining lines after Japanese characters.
Attached test html files are converted to text/plain.
Original test html files are here:
http://www1.interq.or.jp/~deton/lynx-jajoinspaces/
> Does Lynx still add a space wherever there is a line break in the
> text?
Yes. My Japanese line wrap patch does not change this behavior.
> is rendered as JJ[space]JJ[space]JJ,
> but I hope for JJ, i.e., continuous text without spaces.
I wrote an additional patch
Attached patch improves Japanese line wrap
for UTF-8 display character set.
* Issue:
Lynx sometimes breaks lines near the beginning of a line
for Japanese texts and UTF-8 display character set.
These line breaks hinder smooth reading.
* Example:
Rails
> > > * Actual Result:
> > > lynx https://lists.nongnu.org/archive/html/lynx-dev/2021-10/threads.html
> oh. I see. But I don't see this result here (perhaps locale-dependent).
I used this configuration on Debian 9:
./configure --libdir=/usr/local/lib/lynx --enable-nls \
--enable-included-msgs
* Problem:
In lynx2.9.0dev.10, display of some multi-line links is cut off in the middle.
lynx2.9.0dev.9 does not have the problem.
* Actual Result:
lynx https://lists.nongnu.org/archive/html/lynx-dev/2021-10/threads.html
> * [13][Lynx-dev] Build failures on hppa architectures after update
>
ed to contain whatever the parent element may
> contain.
Attached ad hoc patch allows to contain and (like ).
( in is used in https://news.yahoo.co.jp/pickup/6343763 )
--test.html
div
dtdd
p
--
KIHARA, Hideto / de...@m1.interq.or.jp
diff -urp ../orig/lynx2.9.0dev.4/WWW/Library/Impl
Attached patch addes conversion from Japanese ISO-2022-JP html
to UTF-8 display_charset.
Screen captures:
http://www1.interq.or.jp/~deton/lynx-jis2utf8/
--
KIHARA, Hideto / de...@m1.interq.or.jp
diff --git a/WWW/Library/Implementation/SGML.c b/WWW/Library/Implementation/SGML.c
index 1f20ee8
/~deton/lynx-sjisjisx0201/
--
KIHARA, Hideto / de...@m1.interq.or.jp
diff --git a/WWW/Library/Implementation/SGML.c b/WWW/Library/Implementation/SGML.c
index 193e68d..1f20ee8 100644
--- a/WWW/Library/Implementation/SGML.c
+++ b/WWW/Library/Implementation/SGML.c
@@ -1670,6 +1670,13 @@ static void
> (patches welcome)
My patch is attached.
Screen capture:
http://www1.interq.or.jp/~deton/lynx-wcwidth/
Known issue:
* Highlight is incorrect on selecting wrapped long wide-char link text.
* Whereis highlight position is incorrect after wide-char text.
* Not support treating double-width for
I found a wrong message in lynx -help output:
message for '-html5_charsets' option is same as '-historical'.
% lynx -help
...
-historical toggles use of '' or '--' as terminator for comments (off)
-html5_charsets toggles use of '' or '--' as terminator for comments (off)
Please support meta charset attribute of HTML5.
http://www.w3.org/TR/html5/semantics.html#the-meta-element
Because lynx does not recognize charset attribute on the meta element,
following site which contains meta charset=UTF-8 is not shown correctly.
http://vim-jp.org
(Charset: euc-jp in
I wrote following RULE in lynx.cfg to automatically jump
to main content of each article, because I'm annoyed about finding
beginning of content by typing space (page-down) key many times
or searching Skip to Content link and selecting it
to skip menu area of each article. (For example, select
15 matches
Mail list logo