Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problème d'affichage dans les pages « tutoriel » #480

Open
Cosmos506 opened this issue Jul 9, 2023 · 1 comment
Open

Problème d'affichage dans les pages « tutoriel » #480

Cosmos506 opened this issue Jul 9, 2023 · 1 comment

Comments

@Cosmos506
Copy link

Dans les pages dans lesquels il y a les technologies, la description de celle-ci est mal encodée.

image
exemple dans la page de tutoriels JavaScript

@bernard-ng
Copy link
Contributor

Merci @Cosmos506, en effet, sur ce composant, il y a,

<div class="card__description text-small">
<p>{{ formation.content | markdown | striptags | excerpt(130) }}</p>
</div>

un filtre striptags de plus par contre sur la page de la formation :

{{ formation.content | markdown }}

Il n'est pas présent, si la conversion du markdown nécessite d'être prudent. Il y a déjà le filtre markdown_untrusted qu'on peut associer à excerpt.

faudra tester

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants