[problem] Strings like <html> are interpreted and not shown.
[cause] markup processor is enabled.
[solution] disable markup processor.
Change-Id: Ibe0e6ab5e9b5cbd600eb34120a1bbf10ab072899
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
mUnderlinedPriorToPreEdit ( false ),
mCommitByKeyInput( false ),
mPlaceHolderSet( false ),
mUnderlinedPriorToPreEdit ( false ),
mCommitByKeyInput( false ),
mPlaceHolderSet( false ),
+ mMarkUpEnabled( false )
{
// Updates the line height accordingly with the input style.
UpdateLineHeight();
{
// Updates the line height accordingly with the input style.
UpdateLineHeight();
- styledTextArray.push_back( StyledText( Text( markupString ), TextStyle() ) );
+ const Text text( markupString );
+ const std::size_t size = text.GetLength();
+
+ styledTextArray.resize( size, StyledText( Text(), TextStyle() ) );
+
+ std::size_t index = 0;
+ for( StyledTextArray::iterator it = styledTextArray.begin(), endIt = styledTextArray.end(); it != endIt; ++it, ++index )
+ {
+ StyledText& styledText( *it );
+
+ styledText.mText.Append( text[index] );
+ }