Fl_Help_View list of named HTML entities support

11 views
Skip to first unread message

anmol....@gmail.com

unread,
Jun 8, 2021, 2:30:48 PM6/8/21
to fltk.general
The complete list of HTML entities are here - https://www.w3schools.com/html/html_entities.asp
Fl_Help_View supports a few - as listed in the help_dialog.html inside the test/ dir
However, some others like the @rarr; are unsupported.
Is there a complete list of supported entities ?

Thanks!

Greg Ercolano

unread,
Jun 8, 2021, 3:10:44 PM6/8/21
to fltkg...@googlegroups.com

On 6/8/21 11:30 AM, anmol....@gmail.com wrote:

Fl_Help_View supports a few - as listed in the help_dialog.html inside the test/ dir
[..]
Is there a complete list of supported entities ?

    It seems to be in the Fl_Help_View docs:
    FLTK 1.4.0: Fl_Help_View Class Reference

    Quoting the docs:


Supported HTML tags:

  • A: HREF/NAME
  • B
  • BODY: BGCOLOR/TEXT/LINK
  • BR
  • CENTER
  • CODE
  • DD
  • DL
  • DT
  • EM
  • FONT: COLOR/SIZE/FACE=(helvetica/arial/sans/times/serif/symbol/courier)
  • H1/H2/H3/H4/H5/H6
  • HEAD
  • HR
  • I
  • IMG: SRC/WIDTH/HEIGHT/ALT
  • KBD
  • LI
  • OL
  • P
  • PRE
  • STRONG
  • TABLE: TH/TD/TR/BORDER/BGCOLOR/COLSPAN/ALIGN=CENTER|RIGHT|LEFT
  • TITLE
  • TT
  • U
  • UL
  • VAR

Supported color names:

  • black,red,green,yellow,blue,magenta,fuchsia,cyan,aqua,white,gray,grey,lime,maroon,navy,olive,purple,silver,teal.

Supported urls:

  • Internal: file:
  • External: http: ftp: https: ipp: mailto: news:

Quoted char names:

  • Aacute aacute Acirc acirc acute AElig aelig Agrave agrave amp Aring aring Atilde atilde Auml auml
  • brvbar bull
  • Ccedil ccedil cedil cent copy curren
  • dagger deg divide
  • Eacute eacute Ecirc ecirc Egrave egrave ETH eth Euml euml euro
  • frac12 frac14 frac34
  • gt
  • Iacute iacute Icirc icirc iexcl Igrave igrave iquest Iuml iuml
  • laquo lt
  • macr micro middot
  • nbsp not Ntilde ntilde
  • Oacute oacute Ocirc ocirc Ograve ograve ordf ordm Oslash oslash Otilde otilde Ouml ouml
  • para permil plusmn pound
  • quot
  • raquo reg
  • sect shy sup1 sup2 sup3 szlig
  • THORN thorn times trade
  • Uacute uacute Ucirc ucirc Ugrave ugrave uml Uuml uuml
  • Yacute yacute
  • yen Yuml yuml


anmol....@gmail.com

unread,
Jun 8, 2021, 3:54:21 PM6/8/21
to fltk.general
Those are not HTML entities.
These are essentially similar to unicode special characters.
>>>

a character entity reference refers to a character by the name of an entity which has the desired character as its replacement text. The entity must either be predefined (built into the markup language) or explicitly declared in a Document Type Definition (DTD). The format is the same as for any entity reference:

&name;

where name is the case-sensitive name of the entity. The semicolon is required.

>>>

Greg Ercolano

unread,
Jun 8, 2021, 6:15:52 PM6/8/21
to fltkg...@googlegroups.com

On 6/8/21 12:54 PM, anmol....@gmail.com wrote:

Those are not HTML entities.

    Isn't that what's under the heading "Quoted char names" at the bottom of the list I sent?
    e.g. "gt", "quot".. which in the html text would be > " ..

[..]

Quoted char names:

  • Aacute aacute Acirc acirc acute AElig aelig Agrave agrave amp Aring aring Atilde atilde Auml auml
  • brvbar bull
  • Ccedil ccedil cedil cent copy curren
  • dagger deg divide
  • Eacute eacute Ecirc ecirc Egrave egrave ETH eth Euml euml euro
  • frac12 frac14 frac34
  • gt
  • Iacute iacute Icirc icirc iexcl Igrave igrave iquest Iuml iuml
  • laquo lt
  • macr micro middot
  • nbsp not Ntilde ntilde
  • Oacute oacute Ocirc ocirc Ograve ograve ordf ordm Oslash oslash Otilde otilde Ouml ouml
  • para permil plusmn pound
  • quot
  • raquo reg
  • sect shy sup1 sup2 sup3 szlig
  • THORN thorn times trade
  • Uacute uacute Ucirc ucirc Ugrave ugrave uml Uuml uuml
  • Yacute yacute
  • yen Yuml yuml


--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/c7fdbdde-fac4-417e-b96a-cbfd65ec3366n%40googlegroups.com.
-- 
Greg Ercolano, er...@seriss.com
Seriss Corporation
Tel: +1 626-576-0010 ext.8
Fax: +1 626-576-0020
Cel: +1 310-266-8906
Skype: ercolano77

      Rush Render Queue: http://seriss.com/rush/
          1A2 KSU Phone: http://seriss.com/1a2-ksu/
Optical Printer Control: http://seriss.com/opcs/

anmol....@gmail.com

unread,
Jun 9, 2021, 2:33:21 AM6/9/21
to fltk.general
They are indeed. Thanks Greg. I guess the support is indeed partial.

duncan

unread,
Jun 9, 2021, 4:53:11 AM6/9/21
to fltk.general
They are indeed. Thanks Greg. I guess the support is indeed partial.
 
The documentation for Fl_Help_View should be more explicit and changed from:

    "The Fl_Help_View widget displays HTML text. Most HTML 2.0 elements are supported..."

to something more like:

   "The Fl_Help_View widget displays text containing a limited subset of HTML 2.0. It is not a fully feature HTML viewer."


 
Reply all
Reply to author
Forward
0 new messages