Version: 4.2.1 Reporter: The Design Core —
{comment_date format="%M %d, %Y @ %g:%i %a"} displays as code and does not render the date. Removing format=”%M %d, %Y @ %g:%i %a” will render, but adding the format breaks it.
Other comment fields such as {comment}, & {url_as_author} render correctly.
On line 1700 of system/ee/legacy/libraries/Template.php
, just after:
$this->search_fields = $this->tag_data[$i]['search_fields'];
add:
$this->date_vars = [];
$this->modified_vars = [];
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); } ```