--- title: FormattedString - GraphQL Admin description: > A string containing a strict subset of HTML code. Non-allowed tags will be stripped out. Allowed tags: * `a` (allowed attributes: `href`, `target`) * `b` * `br` * `em` * `i` * `strong` * `u` Use [HTML](https://shopify.dev/api/admin-graphql/latest/scalars/HTML) instead if you need to include other HTML tags. Example value: `"Your current domain is example.myshopify.com."` api_version: 2024-10 api_name: admin type: scalar api_type: graphql source_url: html: 'https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/FormattedString' md: >- https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/FormattedString.txt --- # Formatted​String scalar A string containing a strict subset of HTML code. Non-allowed tags will be stripped out. Allowed tags: * `a` (allowed attributes: `href`, `target`) * `b` * `br` * `em` * `i` * `strong` * `u` Use [HTML](https://shopify.dev/api/admin-graphql/latest/scalars/HTML) instead if you need to include other HTML tags. Example value: `"Your current domain is example.myshopify.com."` ## Map ### Fields with this scalar * <-|[Basic​Event.message](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/BasicEvent#field-message) * <-|[Basic​Event.secondaryMessage](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/BasicEvent#field-secondaryMessage) * <-|[Comment​Event.message](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/CommentEvent#field-message) * <-|[Currency​Formats.moneyFormat](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/CurrencyFormats#field-moneyFormat) * <-|[Currency​Formats.moneyWithCurrencyFormat](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/CurrencyFormats#field-moneyWithCurrencyFormat) * <-|[Customer​Visit.referralInfoHtml](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/CustomerVisit#field-referralInfoHtml) * <-|[Editable​Property.reason](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/EditableProperty#field-reason)