|
|
@@ -260,11 +260,19 @@ $opts14 = array ( 'limit'=>40, 'limit_words'=>0, 'limit_passages'=>0, 'passage_b
|
|
|
$words14 = 'match | pass';
|
|
|
$results[] = $client->BuildExcerpts($docs14, 'test3', $words14, $opts14 );
|
|
|
|
|
|
-// 15 test
|
|
|
+// 15 test - rendered entities keep as is
|
|
|
$docs15 = array ( 'hex number №1 test', 'normal number №2 test' );
|
|
|
$opts15 = array ( "html_strip_mode"=>"strip" );
|
|
|
$results[] = $client->BuildExcerpts($docs15, 'test3', 'number', $opts15 );
|
|
|
|
|
|
+$docs16 = array ( 'hex number №1 test', 'normal number №2 test' );
|
|
|
+$opts16 = array ( "html_strip_mode"=>"none" );
|
|
|
+$results[] = $client->BuildExcerpts($docs16, 'test3', 'number', $opts16 );
|
|
|
+
|
|
|
+$docs17 = array ( 'hex number №1 test', 'normal number №2 test' );
|
|
|
+$opts17 = array ( "html_strip_mode"=>"retain", "limit"=>0 );
|
|
|
+$results[] = $client->BuildExcerpts($docs17, 'test3', 'number', $opts17 );
|
|
|
+
|
|
|
]]></custom_test>
|
|
|
|
|
|
</test>
|