Version: 2.7.1 Reporter: bypr3 —
This is an archived bug report. If you are experiencing a similar issue, upgrade to the latest release and if that does not solve the problem, submit a new bug report
the sync fails silently when file names have special chars. That is because var EE = '.json_encode($this->global_vars).'
in EE_Javascript fails.
To prevent this I added
function utf8_encode_callback($value='')
{
return utf8_encode($value);
}
$vars['dirs'][$id]['files'] = array_map( "utf8_encode_callback", $vars['dirs'][$id]['files']);
into Content_files->sync_directory() but you probably know how to do it better 😊
ExpressionEngine implements Markdown Extra and BBCode. Please see the Markdown Extra docs and the BBCode Wikipedia article for a full reference.
**bold**
, __bold__
, *italics*
, _italics_
, ~strike/del~
, `code()`
bold, italics, strike/del, code()
Link: [link title](https://example.com)
Image: ![alt text](https://example.com/image.jpg)
[blockquote]...[/blockquote]
, [quote]...[/quote]
, and Markdown style:
> Some quoted text. > > This is all one quote.
[code]...[/code]
, and you can also specify the language for syntax highlighting, [code=php]...[/code]
GitHub flavored Markdown code fences are also supported:
``` public function decoderRing($str) { return str_rot13($str); } ```