Repository: flex-tlf
Updated Branches:
  refs/heads/develop 7710afb61 -> c31ddf71b


Fix for FLEX-34744
Span elements with an id defined are now handled as a special case and not 
normalized out.


Project: http://git-wip-us.apache.org/repos/asf/flex-tlf/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-tlf/commit/c31ddf71
Tree: http://git-wip-us.apache.org/repos/asf/flex-tlf/tree/c31ddf71
Diff: http://git-wip-us.apache.org/repos/asf/flex-tlf/diff/c31ddf71

Branch: refs/heads/develop
Commit: c31ddf71bdce442fb363fa9f46952ecc8fae8243
Parents: 7710afb
Author: Harbs <[email protected]>
Authored: Mon Oct 19 12:49:27 2015 +0300
Committer: Harbs <[email protected]>
Committed: Mon Oct 19 12:49:27 2015 +0300

----------------------------------------------------------------------
 textLayout/src/flashx/textLayout/elements/ParagraphElement.as | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-tlf/blob/c31ddf71/textLayout/src/flashx/textLayout/elements/ParagraphElement.as
----------------------------------------------------------------------
diff --git a/textLayout/src/flashx/textLayout/elements/ParagraphElement.as 
b/textLayout/src/flashx/textLayout/elements/ParagraphElement.as
index dded72d..0622c84 100644
--- a/textLayout/src/flashx/textLayout/elements/ParagraphElement.as
+++ b/textLayout/src/flashx/textLayout/elements/ParagraphElement.as
@@ -642,7 +642,7 @@ package flashx.textLayout.elements
                                        _terminatorSpan.removeParaTerminator();
                                if (newLastLeaf && _terminatorSpan)
                                {
-                                       if(_terminatorSpan.textLength == 0)
+                                       if(_terminatorSpan.textLength == 0 && 
!_terminatorSpan.id)
                                        {
                                                var termIdx:int = 
getChildIndex(_terminatorSpan);
                                                super.replaceChildren(termIdx, 
termIdx+1);

Reply via email to