Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Author Topic: HTML elements allowed  (Read 2920 times)

Weaver

  • Senior Kitizen
  • ******
  • Posts: 11459
  • Retd s/w dev; A&A; 4x7km ADSL2 lines; Firebrick
HTML elements allowed
« on: May 21, 2018, 01:32:32 PM »

Which html elements can be inserted into posts? Wondering what SMF allows.

This oddball nuisance person wondered about any way to insert html <lang></lang> tags, for things such as <lang="cy">yng Nghymraeg</cy>

I know you are busy enough without such nonsense. Best wishes and sincere thanks for your efforts on behalf of those of us who benefit all the time.
« Last Edit: May 21, 2018, 01:38:17 PM by Weaver »
Logged

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 33879
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: HTML elements allowed
« Reply #1 on: May 21, 2018, 10:42:21 PM »

I don't allow any html elements, this is for security reasons as a lot of forum exploits come via inserted html.

Any elements I do allow use BBC (Bulletin Board Code) which have square bracket tags [].   A lot of them are standard BBC code such as listed on this page.

There's lots of other bbcode I've added as mods such as
Code: [Select]
[youtube][/youtube]
[facebook][/facebook]
and they will all show above the post box ie
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 33879
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: HTML elements allowed
« Reply #2 on: May 21, 2018, 10:59:11 PM »

Attached below list of BBCs in use (see image)

I've just noticed also that the forum software will allow certain html elements if I wish, but it parses them as php BBC.
Although I don't currently have this option turned on ... for security reasons the only html elements that SMF will parse are... 

Code: [Select]
    <b>, <u>, <i>, <s>, <em>, <ins>, <del>
    <a href="">
    <img src="" alt="" />
    <br />, <hr />
    <pre>, <blockquote>

anything else it will ignore.
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

Weaver

  • Senior Kitizen
  • ******
  • Posts: 11459
  • Retd s/w dev; A&A; 4x7km ADSL2 lines; Firebrick
Re: HTML elements allowed
« Reply #3 on: May 21, 2018, 11:07:54 PM »

That list is v useful, thanks!
Logged