-
Website
http://HuddledMasses.org/ -
Original page
http://HuddledMasses.org/testing-acronyms/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
Clint Ecker
1 comment · 5 points
-
avenzke
1 comment · 1 points
-
Euri
1 comment · 4 points
-
Stuart
1 comment · 1 points
-
Luciano Evaristo Guerche
1 comment · 1 points
-
-
Popular Threads
The modifications are:
* excluding text with
stristr($text, '< script') or stristr($text, '< option') or stristr($text, '< input') or stristr($text, '< textarea') or stristr($text, '< object')* Better performance by checking the abbreviations before replacing with
if(strstr($text, $acronym)) { (after foreach()).
I`m still searching for a way to use abbreviations with points and white-spaces. Any idea?