(is_preview = false)} class:btn-active={!is_preview} > {$t('transportation.edit')}
(is_preview = true)} class:btn-active={is_preview} > {$t('adventures.preview')}
{#if !is_preview}
{/if} {#if is_preview}
{@html DOMPurify.sanitize(renderMarkdown(text || ''))}
{/if}