Fix output of html description in icalendar format
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- javascript
Línea de trabajo
Comienza con la URL de exportación DAV del calendario público y compara su VEVENT DESCRIPTION con el archivo ICS de ejemplo proporcionado y con las especificaciones de iCalendar enlazadas. El trabajo estará terminado cuando DESCRIPTION contenga texto plano legible y el HTML se conserve en una o más propiedades alternativas compatibles sin alterar clientes como Thunderbird.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
When viewing a calendar in iCal format via a link such as "https://.../remote.php/dav/public-calendars/...?export" the DESCRIPTION property for the VEVENT objects contains html formatted text. But as the property is meant to contain plain text, clients such as Mozilla Thunderbird show the html encoding of text which makes the text look very mangled for a user. There seem to be some ways of adding html versions of the description:
- In the
X-ALT-DESCproperty, which appear to be the first way, as supported by Microsoft's outlook/exchange (I haven't tested that) and eM Client - description (near bottom), spec, example - In the
ALTREPparameter on the DESCRIPTION property as supported by e.g. Thunderbird (though only when used with data-urls -- which also seems to be easiest) - implementation of detection (note that in data-urls spaces should be encoded as%20not+, spec, example - In the
STYLED-DESCRIPTIONproperty which doesn't seem to be well supported but seem most "clean" - spec
Could you please add the html text to one or more of these properties/parameters (ie. X-ALT-DESC and ALTREP, while there is probably no need for STYLED-DESCRIPTION) and put a plain text version in the description field (ideally something akin to a markdown encoding such that links will appear in the text (maybe using a library like this that can convert html to markdown and strip unsupported tags).
This sample file contains an event recurring on Mondays with a html description encoded in all three ways, in addition to html in the description to check how that is handled (remove .txt extension to test in your client).
- Lenguaje dominante
- JavaScript
- Estrellas
- 710
- Forks
- 125
- Merge medio
- 19 h 37 min
- PR fusionados (30 d)
- 12
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de nextcloud/tasks
-
enhancement
Dificultad 1/5 Menos de una hora Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
nextcloud/tasks#3240 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
nextcloud/tasks#3111 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
feature
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
nextcloud/tasks#122 · 9 comentarios · 25 reacciones ·
Los mantenedores suelen responder en 1 día
-
Allow a team to own a task-listAbierto1. to develop
Dificultad 5/5 Más de una semana Aptitud para principiantes 39/100
Los mantenedores suelen responder en 1 día
Todos los issues de nextcloud/tasks
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
remotion-dev/remotion#13341 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
svix/svix-webhooks#2808 ·
Los mantenedores suelen responder en 1 día
-
enhancement should-have ux
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100