Tapatalk

HTML attribute without equal sign not displayed properly

HTML attribute without equal sign not displayed properly

351
Basic UserBasic User
351

    Apr 26, 2005#1

    I'm using UE 11.10+2. In the Attributes section of the HTML block in my wordfile.txt I have the attribute "selected" (without quotes). However, it doesn't display properly unless I place a space or "=" after it in the code. Is there some way to make it display properly? Thanks!

    6,685587
    Grand MasterGrand Master
    6,685587

      Apr 27, 2006#2

      Hi!

      You know my macro SortLanguage. During beta testing of UE v12.00 I run my macro on all language definitions of the standard wordfile.txt and fixed also some other mistakes. One of this mistakes was the one you have mentioned here. All HTML stand-alone attributes have to be also added with the > at the end like SELECTED> or NOWRAP> ...

      The standard wordfile.txt of UE v12.00 now highlights these stand-alone attributes better. If you have not updated to v12 of UE, here is the HTML language definition from the wordfile.txt of v12.00.

      If you copy this HTML syntax highlighting definition from the browser to your wordfile, replace the red TAB CHARACTER string with a real tab character (hex 09).

      /L3"HTML" HTML_LANG Nocase Noquote Block Comment On = <!-- Block Comment Off = -->  File Extensions = HTM HTML SHTML HTT HTA HTX CFM JSP PHP PHTML ASP
      /Delimiters = ~!@$%^&*()+=|\{}[]:;"'<> ,TAB CHARACTER.?
      /Function String = "<form*>"
      /Member String = "$S[ ^t]++=[ ^t&]++new[ ^t]+^([A-Za-z_]+[A-Za-z0-9_]++^)"
      /Variable String = "$S[ ^t]++=[ ^t&]++new[ ^t]+^([A-Za-z_]+[A-Za-z0-9_]++^)"
      /Indent Strings = "<"
      /Unindent Strings = "</"
      /Open Brace Strings =  "{" "(" "[" "<"
      /Close Brace Strings = "}" ")" "]" ">"
      /C1"Tags" STYLE_TAG
      <A </A> <ABBR> <ABBR </ABBR> <ABOVE> <ACRONYM> <ACRONYM </ACRONYM> <ADDRESS> <ADDRESS </ADDRESS>
      <APPLET </APPLET> <AREA </AREA <ARRAY>
      <B> <B </B> <BASE <BASEFONT <BDO> <BDO </BDO> <BGSOUND <BIG> <BIG </BIG> <BLINK> <BLINK </BLINK>
      <BLOCKQUOTE> <BLOCKQUOTE </BLOCKQUOTE> <BODY> <BODY </BODY> <BOX> <BR/> <BR> <BR <BUTTON> </BUTTON>
      <CAPTION> <CAPTION </CAPTION> <CENTER> <CENTER </CENTER> <CITE> <CITE </CITE> <CODE> <CODE </CODE>
      <COL> <COL <COLGROUP> <COLGROUP </COLGROUP> <COMMENT> </COMMENT>
      <DD> <DD </DD> <DEL> <DEL </DEL> <DFN> <DFN </DFN> <DIR> <DIR </DIR> <DIV> <DIV </DIV> <DL> <DL </DL>
      <DT> <DT </DT>
      <EM> <EM </EM> <EMBED
      <FIELDSET> <FIELDSET </FIELDSET> <FIG> <FONT </FONT> <FORM> <FORM </FORM> <FRAME <FRAMESET </FRAMESET>
      <H1> <H1 </H1> <H2> <H2 </H2> <H3> <H3 </H3> <H4> <H4 </H4> <H5> <H5 </H5> <H6> <H6 </H6> <HEAD> <HEAD
      </HEAD> <HR/> <HR> <HR <HTML> <HTML </HTML>
      <I> <I </I> <IFRAME> </IFRAME> <ILAYER> </ILAYER> <IMG <INPUT> <INPUT <INS> <INS </INS> <ISINDEX> <ISINDEX
      <KBD> <KBD </KBD>
      <LABEL> <LABEL </LABEL> <LAYER> <LAYER </LAYER> <LEGEND> <LEGEND </LEGEND> <LI> <LI </LI> <LINK <LISTING>
      </LISTING>
      <MAP </MAP> <MARQUEE </MARQUEE> <MENU> <MENU </MENU> <META <MULTICOL> </MULTICOL>
      <NEXTID <NOBR> </NOBR> <NOFRAMES> </NOFRAMES> <NOLAYER> </NOLAYER> <NOSCRIPT> </NOSCRIPT> <NOTE> </NOTE>
      <OBJECT> <OBJECT </OBJECT> <OL> <OL </OL> <OPTGROUP> <OPTGROUP </OPTGROUP> <OPTION> <OPTION </OPTION>
      <P> <P </P> <PARAM <PRE> <PRE </PRE>
      <Q> <Q </Q> <QUOTE>
      <RANGE> <ROOT>
      <S> <S </S> <SAMP> <SAMP </SAMP> <SCRIPT> <SCRIPT </SCRIPT> <SELECT> <SELECT </SELECT> <SMALL> <SMALL
      </SMALL> <SOUND <SPACER> <SPAN> <SPAN </SPAN> <SQRT> <STRIKE> <STRIKE </STRIKE> <STRONG> <STRONG </STRONG>
      <STYLE> <STYLE </STYLE> <SUB> <SUB </SUB> <SUP> <SUP </SUP>
      <TABLE> <TABLE </TABLE> <TBODY> <TBODY </TBODY> <TD> <TD </TD> <TEXT> <TEXTAREA> <TEXTAREA </TEXTAREA>
      <TFOOT> <TFOOT </TFOOT> <TH> <TH </TH> <THEAD> <THEAD </THEAD> <TITLE> </TITLE> <TR> <TR </TR> <TT>
      <TT </TT>
      <U> <U </U> <UL> <UL </UL>
      <VAR> <VAR </VAR>
      <WBR>
      <XMP> </XMP>
      // />
      >
      /C2"Attributes" STYLE_ATTRIBUTE
      ABBR= ACCEPT-CHARSET= ACCEPT= ACCESSKEY= ACTION= ALIGN= ALINK= ALT= ARCHIVE= AXIS=
      BACKGROUND= BEHAVIOR BEHAVIOR> BELOW BELOW> BGCOLOR= BORDER=
      CELLPADDING= CELLSPACING= CHAR= CHAROFF= CHARSET= CHECKED CHECKED> CITE= CLASS= CLASSID= CLEAR= CODE=
      CODEBASE= CODETYPE= COLOR= COLS= COLSPAN= COMPACT COMPACT> CONTENT= COORDS=
      DATA= DATETIME= DECLARE DECLARE> DEFER DEFER> DIR= DISABLED DISABLED>
      ENCTYPE=
      FACE= FOR= FRAME= FRAMEBORDER= FRAMESPACING=
      HEADERS= HEIGHT= HIDDEN= HREF= HREFLANG= HSPACE= HTTP-EQUIV=
      ID= ISMAP=
      LABEL= LANG= LANGUAGE= LINK= LONGDESC= LOOP=
      MAILTO= MARGINHEIGHT= MARGINWIDTH= MAXLENGTH= MEDIA= METHOD= MULTIPLE MULTIPLE>
      NAME= NOHREF NOHREF> NORESIZE NORESIZE> NOSHADE NOSHADE> NOWRAP NOWRAP>
      OBJECT= ONBLUR= ONCHANGE= ONCLICK= ONDBLCLICK= ONFOCUS= ONKEYDOWN= ONKEYPRESS= ONKEYUP= ONLOAD=
      ONMOUSEDOWN= ONMOUSEMOVE= ONMOUSEOUT= ONMOUSEOVER= ONMOUSEUP= ONRESET= ONSELECT= ONSUBMIT= ONUNLOAD=
      PROFILE= PROMPT=
      READONLY READONLY> REL= REV= ROWS= ROWSPAN= RULES=
      SCHEME= SCOPE= SCROLLING= SELECTED SELECTED> SHAPE= SIZE= SPAN= SRC= STANDBY= START= STYLE= SUMMARY=
      TABINDEX= TARGET= TEXT= TITLE= TOPMARGIN= TYPE=
      URL= USEMAP=
      VALIGN= VALUE= VALUETYPE= VERSION= VLINK= VSPACE=
      WIDTH=
      =
      Best regards from an UC/UE/UES for Windows user from Austria

      351
      Basic UserBasic User
      351

        May 02, 2006#3

        Awesome! Thanks so much for the help!