Vlad Kurkin (b_vladi) wrote in changelog,
Vlad Kurkin
b_vladi
changelog

[livejournal] r19716: LJSUP-9502: Incorrect viewed poll in RTE...

Committer: vkurkin
LJSUP-9502: Incorrect viewed poll in RTE
U   trunk/htdocs/js/ck/plugins/livejournal/plugin.js
Modified: trunk/htdocs/js/ck/plugins/livejournal/plugin.js
===================================================================
--- trunk/htdocs/js/ck/plugins/livejournal/plugin.js	2011-08-15 05:40:05 UTC (rev 19715)
+++ trunk/htdocs/js/ck/plugins/livejournal/plugin.js	2011-08-15 06:04:05 UTC (rev 19716)
@@ -127,7 +127,7 @@
 					.replace(/<lj-template name=['"]video['"]>(\S+?)<\/lj-template>/g, '<div class="ljvideo" url="$1"><img src="' + Site
 					.statprefix + '/fck/editor/plugins/livejournal/ljvideo.gif" /></div>')
 					.replace(/<lj-embed\s*(?:id="(\d*)")?\s*>([\s\S]*?)<\/lj-embed>/gi, '<div class="ljembed" embedid="$1">$2</div>')
-					.replace(/<lj-poll .*?>[^b]*?<\/lj-poll>/gm,
+					.replace(/<lj-poll .*?>[^\b]*?<\/lj-poll>/gm,
 					function(ljtags) {
 						return new Poll(ljtags).outputHTML();
 					}).replace(/<lj-template(.*?)><\/lj-template>/g, "<lj-template$1 />");

Tags: b_vladi, js, livejournal
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments