You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use case: I need to have one set of HMTL if data is present, another if absent.
From the documentation, the only way I can do this as follows (note the disambiguation to ensure only the Hash key is tested)
HTML is produced as expected BUT there is always an extra line added in, either one corresponding to the <!....> stanza not generating a string, or the <?.... not generating a string.
HTML renderers remove whitespace, so it does not have an impact on users, but I find it difficult when developing and debugging HTML if there is excessive whitespace.
Is there a way to suppress whitespace?
Is there a better way in Crotmp to get alternate rendering depending on a boolean test?
The text was updated successfully, but these errors were encountered:
Use case: I need to have one set of HMTL if data is present, another if absent.
From the documentation, the only way I can do this as follows (note the disambiguation to ensure only the Hash key is tested)
HTML is produced as expected BUT there is always an extra line added in, either one corresponding to the
<!....>
stanza not generating a string, or the<?....
not generating a string.HTML renderers remove whitespace, so it does not have an impact on users, but I find it difficult when developing and debugging HTML if there is excessive whitespace.
Is there a way to suppress whitespace?
Is there a better way in Crotmp to get alternate rendering depending on a boolean test?
The text was updated successfully, but these errors were encountered: