Skip to content

Commit

Permalink
fix: use HTML for tricky text
Browse files Browse the repository at this point in the history
  • Loading branch information
roziscoding committed Oct 21, 2022
1 parent 932da89 commit 586981e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/conversations/set-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ const cancellable = (fn: (ctx: AppContext) => any) => (ctx: AppContext) => ctx.h
const setInfo = async (conversation: Conversation<AppContext>, ctx: AppContext) => {
await ctx.reply(
oneLine`
Antes de começarmos, preciso que você leia minha [política de privacidade](${PRIVACY_URL})\\.
Antes de começarmos, preciso que você leia minha <a href="${PRIVACY_URL}">política de privacidade</a>.
Você concorda com a política de privacidade?.
`,
{ parse_mode: 'MarkdownV2', disable_web_page_preview: true, reply_markup: confirm() }
{ parse_mode: 'HTML', disable_web_page_preview: true, reply_markup: confirm() }
)

const privacyPolicy = await conversation
Expand Down

0 comments on commit 586981e

Please sign in to comment.