1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-19 07:41:08 +01:00

hopefully not making things worse...

git-svn-id: file:///svn/phpbb/trunk@6087 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2006-06-17 13:16:51 +00:00
parent add20b4a92
commit 3735ecdb16

View File

@ -210,7 +210,11 @@ function addquote(post_id, username)
if (theSelection == '')
{
if (document.all)
if (divarea.innerHTML)
{
theSelection = divarea.innerHTML.replace(/<br>/ig, '\n');
}
else if (document.all)
{
theSelection = divarea.innerText;
}