Adding test cases for Unicode in blocks. (#1646)

Adds test blocks to demonstrate capabilities. Stopped short of adding BiDi override characters.
I added to the toolbox category "Images". It isn't really images, but it didn't seem worth making a separate category at this stage.
This commit is contained in:
Andrew n marshall
2018-02-21 13:53:44 -08:00
committed by GitHub
parent 09316c6bd4
commit 2358fe6fd5
2 changed files with 13 additions and 0 deletions

View File

@@ -1155,6 +1155,14 @@ h1 {
<block type="image_large"></block>
<block type="image_missing"></block>
<block type="test_with_lots_of_network_icons"></block>
<label text="Unicode & Emojis"></label>
<block type="emoji_label_robot_face"></block>
<block type="text">
<field name="TEXT">Robot face in text field: &#x1f916;</field>
</block>
<block type="text">
<field name="TEXT">Zalgo in text field: B&#776;&#788;&#862;&#795;&#842;&#827;&#806;&#837;&#812;&#792;&#816;&#846;&#805;l&#771;&#832;&#833;&#864;&#849;&#849;&#789;&#861;&#801;&#854;&#863;&#811;&#826;&#812;&#790;&#803;&#819;o&#843;&#777;&#778;&#785;&#831;&#829;&#794;&#825;&#857;&#814;&#802;&#811;&#852;c&#843;&#786;&#849;&#778;&#861;&#775;&#825;&#825;&#796;&#857;&#825;&#800;&#824;k&#778;&#850;&#833;&#774;&#772;&#782;&#862;&#770;&#789;&#788;&#841;&#801;&#811;&#860;&#839;&#790;&#819;&#854;l&#832;&#774;&#836;&#831;&#776;&#787;&#855;&#816;&#793;&#798;&#819;&#809;&#800;&#854;&#815;y&#864;&#783;&#856;&#773;&#832;&#808;&#799;&#839;&#814;&#840;&#812;&#793;&#818;&#801;</field>
</block>
</category>
</xml>
</body>