Version: 4.0.7 Reporter: Brian Litzinger —
I had an Bloqs issue reported from a customer, but I feel like its a deeper problem with EE. Given the following template, the {blocks}{/blocks} pair does not get parsed (the entire chunk of code is output to the browser). It doesn’t call the replace_tag method in my ft file. As soon as I remove either the {blocks:total_blocks} modifiers OR the 5000 words of lorem ipsum, the ft.bloqs.php->replace_tag method is called and the {blocks}{/blocks} pair is parsed. I tried to re-create this with Grid, but I can’t. It works fine in Grid. I would continue digging into this as a Bloqs issue, but the fact that my replace_tag method is never called means something in EE is failing, so its not even getting to Bloqs to have a chance to render the output.
{exp:channel:entries channel="pages" entry_id="{segment_2}"}
total_blocks: {blocks:total_blocks}
{if "{blocks:total_blocks}" > "1"}TRUE{/if}
{blocks}
{section}
<h1>{heading}</h1>
{summary}
{/section}
{row}
<h2>{heading}</h2>
{/row}
{/blocks}
... add 5000 lorem ipsum words here ...
{/exp:channel:entries}
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); } ```