[WM] [Q] define tag _and_ empty_tag

Chris kolumbus.gmx.de
Sat Nov 24 06:36:04 GMT 2001


On Thu, Nov 22, 2001 at 11:23:25AM +1100, Justin Mason wrote:
> 
> Chris said:
> 
> > does anybody happen to know if it is possible to define a normal (open/close)
> > _and_ and empty tag with the same name, similar to the built in tag <wmmeta>?
> 
> ack!
> 
> originally tags did both, as you suggest.  I took this out for efficiency,
> as it meant two searches were run internally -- one for standalone and one
> for open/closed use.
> 
> I can re-add it if you like -- but are you sure it's needed?  

Not really. The idea was to have a shorter version of defining language
dependent parts. The solution for HTML code is now a second , and shorter,
empty tag. 

I also patched EtText do get rid of not wanted <p></p> pairs because of the
language  tags and also introduced a new shortcut lang.lg{...} which
translates to <lang id="lg" >...</lang> . I do have  "enough" short ways
now to do the stuff :-). 


> IMO I went
> overboard with the wmmeta tag's flexibility, and nowadays we pay for
> it in performance.

Maybe, but the functionality is great, and BTW, computers are getting faster
and faster too ;-).

Chris




More information about the Webmake-talk mailing list