Advertisement:

Author Topic: How to allow more HTML tag in post?  (Read 32491 times)

Offline HunterP

  • Sr. Member
  • ****
  • Posts: 976
  • Gender: Male
  • SMF 2.0.4
    • Hulpverleningsforum Nederland
Re: How to allow more HTML tag in post?
« Reply #20 on: October 13, 2010, 05:19:23 PM »
see this is the part i was telling you would be trouble especially now since if users dont get the tags right it'll break the layout too and im not strong enough with regular expressions to fix this

Ok :)

The question is whether SMF really needs to try and fix user problems. If one doesn't know how to use the tags correctly, then don't. I'll try to fix these three lines, but I don't think it's a big deal if it stays the way it is.

Offline Shrink

  • Semi-Newbie
  • *
  • Posts: 93
Re: How to allow more HTML tag in post?
« Reply #21 on: December 18, 2012, 04:05:24 AM »
Can i post following hml code.
Code: [Select]
<span class="imdbRatingPlugin" data-user="ur37096939" data-title="tt2188749" data-style="p5"><a href="http://www.imdb.com/title/tt2188749/?ref_=plg_rt_1">IMDb </a></span><script>(function(d,s,id){var js,stags=d.getElementsByTagName(s)[0];if(d.getElementById(id)){return;}js=d.createElement(s);js.id=id;js.src="http://g-ec2.images-amazon.com/images/G/01/imdb/plugins/rating/js/rating.min.js";stags.parentNode.insertBefore(js,stags);})(document,'script','imdb-rating-api');</script>