Commit 7c0e6105 authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander.Trofimov

Bug 26647 - Не сохраняется текст, содержащий ссылку некуда не направленную

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@58492 954022d7-b5bf-4e40-9824-e11837661b57
parent f10ac553
...@@ -5847,6 +5847,7 @@ PasteProcessor.prototype = ...@@ -5847,6 +5847,7 @@ PasteProcessor.prototype =
} }
catch(e) { sDecoded = href; } catch(e) { sDecoded = href; }
href = sDecoded; href = sDecoded;
if(href && href.length > 0){
var title = child.getAttribute("title"); var title = child.getAttribute("title");
bAddParagraph = this._Decide_AddParagraph(child, pPr, bAddParagraph); bAddParagraph = this._Decide_AddParagraph(child, pPr, bAddParagraph);
...@@ -5861,6 +5862,7 @@ PasteProcessor.prototype = ...@@ -5861,6 +5862,7 @@ PasteProcessor.prototype =
this.oCurHyperlinkContentPos = 0; this.oCurHyperlinkContentPos = 0;
} }
} }
}
bAddParagraph = this._Execute(child, Common_CopyObj(pPr), false, bAddParagraph, bIsBlockChild || bInBlock); bAddParagraph = this._Execute(child, Common_CopyObj(pPr), false, bAddParagraph, bIsBlockChild || bInBlock);
if(bIsBlockChild) if(bIsBlockChild)
bAddParagraph = true; bAddParagraph = true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment