Permalink
Browse files

Update phpdoc

  • Loading branch information...
akirk committed Oct 18, 2018
1 parent 8d8f3c3 commit a6f80bcc209520842a40e061c74d3b6ed8afe6e5
Showing with 3 additions and 3 deletions.
  1. +3 −3 gp-includes/formats/format-android.php
@@ -406,13 +406,13 @@ private function cmp_context( $a, $b ) {
}
/**
* Convert a string potentially containing escaped Unicode into UTF-8.
* Preserve a Unicode sequence (like \u1234) by adding another backslash.
*
* @since 3.0
*
* @param string $string The string to unescape UTF-8.
* @param string $string The string to process.
*
* @return string Returns the unescaped string.
* @return string Returns the string with double-escaped Unicode sequences.
*/
private function preserve_escaped_unicode( $string ) {
return preg_replace( '#\\\\u([0-9a-fA-F]{4})#', '\\\\$0', $string );

0 comments on commit a6f80bc

Please sign in to comment.