Skip to content

Change to inline-CASText simplification and wrapping of raw "strings"#1783

Open
aharjula wants to merge 1 commit into
devfrom
iss1777related
Open

Change to inline-CASText simplification and wrapping of raw "strings"#1783
aharjula wants to merge 1 commit into
devfrom
iss1777related

Conversation

@aharjula

Copy link
Copy Markdown
Member

Tries to fix the off application of SMLT in issue #1777.

Modifies inline-CASText simplification so that "flat" things are not simplified in advance, to ensure that the logic doing {@...@} injections of inline-CASText does not consider them as "strings" and apply extra SMLT on them.

This solution does not cover the use of castext_concat() or castext_simplify() on inline-CASText fragments; those can still turn "flat" content to "strings" and lead to extra SMLT that might affect areas that should not be affected by SMLT.

Should you use those and the result needs to be protected from overt SMLT application, you can use the old [[castext evaluated="..."/]]-block, which was the predecessor of the {@...@} injection shorthand. It will do a pure injection without any risk of extra SMLT.

… simplification so that "flat" things are not simplified in advance, to ensure that the logic doing `{@...@}` injections of inline-CASText does not consider them as "strings" and apply extra SMLT on them.

This solution does not cover the use of `castext_concat()` or `castext_simplify()` on inline-CASText fragments, those can still turn "flat" content to "strings" and lead to extra SMLT that might affect areas that should nto be affected by SMLT.

Should you use those and the result needs to be protected from overt SMLT application, you can use the old `[[castext evaluated="..."/]]`-block which was the predeccor of the `{@...@}` injection shorthand. It will do a pure injection without any risk of extra SMLT.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant