]> git.openstreetmap.org Git - osqa.git/commit
bugfix, the images in the preview mode of the WMD editor were not displayed, because...
authorjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Tue, 19 Apr 2011 19:38:32 +0000 (19:38 +0000)
committerjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Tue, 19 Apr 2011 19:38:32 +0000 (19:38 +0000)
commit5eb856d0a99ff1b63bda2ae03b0c7c590703822e
tree1c774b8a0fe856f5716fe40eeeacfa8d5cbcb553
parent3b8fc53c848fb9dc2d073a4e91a03894d776f438
bugfix, the images in the preview mode of the WMD editor were not displayed, because the site script URL was appended directly to the image src, without a matter if the image was located on a remote server or not. Now we check if the image src begins with http:// or https://

git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@994 0cfe37f9-358a-4d5e-be75-b63607b5c754
forum/skins/default/media/js/wmd/showdown.js
forum/skins/default/media/js/wmd/wmd.js