Check the pair of tag. 79/202779/6
authorJoogab Yun <joogab.yun@samsung.com>
Fri, 5 Apr 2019 00:19:26 +0000 (09:19 +0900)
committerjoogab yun <joogab.yun@samsung.com>
Wed, 17 Apr 2019 01:57:21 +0000 (01:57 +0000)
commit55472b6932c7f888d3c707431f2fe990b3b8ab14
treef0b8d01b341a577379d80a9bc713ae20cb74c602
parentf7afcaf3b5cd7cd9aa3c937b680a525ecbbc8332
Check the pair of tag.

* A crash occurs if markup is used incorrectly.

ex) these samples will crash.
* label.SetProperty( TextLabel::Property::TEXT, "<color=#ffff0000>10:01:49</color>" );
  - <color value=#fff0000> is correct expression.

* label.SetProperty( TextLabel::Property::TEXT, "10:</b>01:49" );

Change-Id: I380d0209dabbd35756f9a0b3829fc4a7f31da7d9
automated-tests/src/dali-toolkit/utc-Dali-TextLabel.cpp
dali-toolkit/internal/text/markup-processor.cpp