Fix for 5.0SF1 in bug #300901: Lose <br> inside a cell in a table

Modified lo_LayoutTag() to set hard linebreaks for NSDTs.
Reviewed by toshok and nisheeth.


git-svn-id: svn://10.0.0.236/trunk@6455 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kin%netscape.com
1998-07-24 23:59:46 +00:00
parent 96502a2a0f
commit b5ea9e187d

View File

@@ -4449,7 +4449,7 @@ XP_TRACE(("lo_LayoutTag(%d)\n", tag->type));
}
else
{
lo_SetSoftLineBreakState(context,state,FALSE,1);
lo_SetLineBreakState(context,state,FALSE,LO_LINEFEED_BREAK_HARD, 1, FALSE);
}
state->x = state->left_margin;
}