Skip to content
Discussion options

You must be logged in to vote

Hey, thx for the fast reply,

<Text>Votre code d'authentification est le suivant :</Text>
  {exp("code")}
  <Heading as="h2" style={{color: "#010c0f"}}><strong><Raw content={exp("code")}/></strong></Heading>
<Text>Entrez ce code d'authentification pour valider votre demande.</Text>

still give me :

Votre code d'authentification est le suivant :

${code}

${CODE}

Entrez ce code d'authentification pour valider votre demande.

But i can use directly some html-to-text options selectors :

const selectorsOptions = [
    { selector: 'h2', options: { uppercase: false } },
    { selector: 'h3', options: { uppercase: false } }
  ]
  if (props.plainText) {
    return await render(<Template {...previe…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@maximekl
Comment options

Answer selected by maximekl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants