• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Possible to remove font format from html output?

technorat

Member
Hi guys,

I would like to be able to remove the font formatting from the HTML Output that is generated by Army Builder. This would allow me to just use my own style sheets if I want to display armies for viewing on my own website (rather than having to remove all the <font> tags myself). Is this possible?

The other option I have read of is to just apply an xsl stylesheet to the xml in the roster file but this would end up being a bit more involved and I'd like to avoid it. :D

Thanks for any help!
 
Another option you could use is to write a JavaScript function to strip all the <font> tags out. You can easily do this with a for loop and walk through the html by tag type (ie font or any other tags you want to remove).

Is the HTML XHTML compatible?
 
Thanks for the reply! I could just script it by program or even a text editor with regular expressions. I was just curious if there was some option in Army Builder to do it automatically.

It seems well formed so should be xhtml compatible and pretty easily parsable by program.

I'll keep playing with it but I appreciate the response. :) Cheers.
 
Back
Top