1
sunsnapper
SPAW, HTMLArea, and Koivi XHTML tags

When using the SPAW editor (TinyContent) I've noticed that the tags it uses are not xhtml compliant. For example, the <img> and <br> tags should be self-closing with />.

Example <br /> and <img ... />

Also, I would like the tags to be lower-case.

Is there a place where I can edit the tags SPAW is using?

Does anyone know if the tags used by Koivi and HTMLArea address this, or how to edit the tags if they have a similar issue?

2
sunsnapper
Re: SPAW, HTMLArea, and Koivi XHTML tags

In searching for info on this at Solmetra, I came across an announcement that SPAW now has an update that works in Gecko and IE. It works for me in Firefox.

SPAW demo

3
samuels
Re: SPAW, HTMLArea, and Koivi XHTML tags
  • 2005/2/5 20:50

  • samuels

  • Quite a regular

  • Posts: 249

  • Since: 2003/10/30


You need to parse the output to obtain xhtml compilant code.
Koivi uses one parser and Fckeditor and tinyMce too.
I think there are some plugin for HtmlArea.

4
sunsnapper
Re: SPAW, HTMLArea, and Koivi XHTML tags

Similarly, then, where is the parser for SPAW?

5
samuels
Re: SPAW, HTMLArea, and Koivi XHTML tags
  • 2005/2/7 22:23

  • samuels

  • Quite a regular

  • Posts: 249

  • Since: 2003/10/30


Spaw doesn't have, but if you use the editors under gecko browsers (netscape, mozilla, firefox e.t.c) you'll obtain tags in lower case.

That's because is the browser which controls the standar html output.
Koivi and FceEditor strategy is to take the code, clean it and after that show the result to the user.

Spaw and htmlArea show directly the html output without cleaning it.

You can use for example html2xhtml javascript to do the job
http://www.html2xhtml.richarea.com/

6
sunsnapper
Re: SPAW, HTMLArea, and Koivi XHTML tags

I hear you.

I figured there must be a "dictionary" or something that said:
When you see a line break add a </P>

On a new line add a <P>

And that I could edit that "dictionary" to <p>, or <br />, etc.

And I gather that input via SPAW bypasses XOOPS routines (as would be expected).

Thanks Samuels.

Login

Username:
Password:

Lost Password? Register now!

Who's Online

68 user(s) are online (43 user(s) are browsing Support Forums)


Members: 0


Guests: 68


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jun 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits