CMS Development

tmcmillan99
Top Contributor | Gold Partner
Top Contributor | Gold Partner

Hubl Syntax Question

SOLVE

For the following reference to a rich text value, is there a way to have it display the value as the actual html source code instead of just as a string? Is there a filter I can add to convert it?

{% inline_rich_text field="quote" value="{{ item.quote }}" %}

For example, if a user types the following in a rich text field - "This is the text I typed."
I need the value to output as <p>"This is the text I typed."</p>

 

Thanks,

Terry

0 Upvotes
1 Accepted solution
BarryGrennan
Solution
Key Advisor

Hubl Syntax Question

SOLVE

If I'm understanding you correctly, this should be what you're looking for

 

{{ module.richtext_field|escape_html }}

 


profile2022aBarry Grennan

Freelance HubSpot CMS Developer

Website | Contact | LinkedIn

 

 

View solution in original post

3 Replies 3
Jaycee_Lewis
Community Manager
Community Manager

Hubl Syntax Question

SOLVE

Thanks @BarryGrennan 🙌





loop


Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.

Learn More




BarryGrennan
Solution
Key Advisor

Hubl Syntax Question

SOLVE

If I'm understanding you correctly, this should be what you're looking for

 

{{ module.richtext_field|escape_html }}

 


profile2022aBarry Grennan

Freelance HubSpot CMS Developer

Website | Contact | LinkedIn

 

 

tmcmillan99
Top Contributor | Gold Partner
Top Contributor | Gold Partner

Hubl Syntax Question

SOLVE

@BarryGrennan Thanks! That was what I needed.