You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'Partially-closed element' => array( '<div target>This is <em>all</em> inside the DIV</div', '', '<div target>' ),
55
55
'Implicitly-closed element' => array( '<div><p target>Inside the P</div>Outside the P</p>', '', '<div><p target></div>Outside the P</p>' ),
56
+
57
+
'Text markup' => array( '<span target></span>', 'Today is the best day to start.', '<span target>Today is the best day to start.</span>' ),
58
+
'Text with ampersand (raw)' => array( '<span target></span>', 'Today & yesterday are the best days to start.', '<span target>Today & yesterday are the best days to start.</span>' ),
59
+
'Text with tag (raw)' => array( '<span target></span>', 'Yesterday <em>was</em> the best day to start.', '<span target>Yesterday <em>was</em> the best day to start.</span>' ),
60
+
'Text with unclosed tag (raw)' => array( '<span target></span>', 'Yesterday <em>was the best day to start.', '<span target>Yesterday <em>was the best day to start.</span>' ),
61
+
'Text with ending tag (raw)' => array( '<span target></span>', 'Here is no </div>', '<span target>Here is no </div></span>' ),
62
+
'Text with scope-creating tag (raw)' => array( '<span target></span>', '<p>Start<p>Finish<p>Repeat', '<span target><p>Start<p>Finish<p>Repeat</span>' ),
63
+
'Text with scope-ending tag (raw)' => array( '<span target></span>', 'Sneaky closing </span> No more span.', '<span target>Sneaky closing </span> No more span.</span>' ),
'Partially-closed element' => array( '<div target>This is <em>all</em> inside the DIV</div', '', '' ),
55
55
'Implicitly-closed element' => array( '<div><p target>Inside the P</div>Outside the P</p>', '', '<div></div>Outside the P</p>' ),
56
+
57
+
'Text markup' => array( '<span target></span>', 'Today is the best day to start.', 'Today is the best day to start.' ),
58
+
'Text with ampersand (raw)' => array( '<span target></span>', 'Today & yesterday are the best days to start.', 'Today & yesterday are the best days to start.' ),
59
+
'Text with tag (raw)' => array( '<span target></span>', 'Yesterday <em>was</em> the best day to start.', 'Yesterday <em>was</em> the best day to start.' ),
60
+
'Text with unclosed tag (raw)' => array( '<span target></span>', 'Yesterday <em>was the best day to start.', 'Yesterday <em>was the best day to start.' ),
61
+
'Text with ending tag (raw)' => array( '<span target></span>', 'Here is no </div>', 'Here is no </div>' ),
62
+
'Text with scope-creating tag (raw)' => array( '<span target></span>', '<p>Start<p>Finish<p>Repeat', '<p>Start<p>Finish<p>Repeat' ),
63
+
'Text with scope-ending tag (raw)' => array( '<span target></span>', 'Sneaky closing </span> No more span.', 'Sneaky closing </span> No more span.' ),
0 commit comments