Web API links generated by the urlize_links_and_mails template filter
are removed by highlight.js when highlighting JSON response.
So ensure to restore them once JSON highlighting has been performed.
Differential D6191
templates/apidoc: Restore Web API links removed by JSON highlighting Authored by anlambert on Sep 6 2021, 4:48 PM. Tags None Subscribers None
Details
Web API links generated by the urlize_links_and_mails template filter So ensure to restore them once JSON highlighting has been performed.
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D6191 (id=22419)Rebasing onto ea485ffd9e... Current branch diff-target is up to date. Changes applied before testcommit 2904a0c4cb03fde3f59d49cffa44a215c5d0de39
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date: Mon Sep 6 16:45:13 2021 +0200
templates/apidoc: Restore Web API links removed by JSON highlighting
Web API links generated by the urlize_links_and_mails template filter
are removed by highlight.js when highlighting JSON response.
So ensure to restore them once JSON highlighting has been performed.See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1072/ for more details. Comment Actions Build is green Patch application report for D6191 (id=22438)Rebasing onto f17713fd89... Current branch diff-target is up to date. Changes applied before testcommit 8c8550a08afddfe00a7d1e06f21139709220ab81
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date: Mon Sep 6 16:45:13 2021 +0200
templates/apidoc: Restore Web API links removed by JSON highlighting
Web API links generated by the urlize_links_and_mails template filter
are removed by highlight.js when highlighting JSON response.
So ensure to restore them once JSON highlighting has been performed.See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1080/ for more details. |