diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2022-03-15 03:43:39 +0100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-03-28 17:11:40 +0200 |
commit | 700ce1f8750c10b3ba461574be710a88c4af8625 (patch) | |
tree | ed4ab0cb5e21c5593add4b071f395a7995e46c45 /test/lib | |
parent | e5eefe77435a8958681a92546c46e3c05b93ac7b (diff) | |
download | passt-700ce1f8750c10b3ba461574be710a88c4af8625.tar passt-700ce1f8750c10b3ba461574be710a88c4af8625.tar.gz passt-700ce1f8750c10b3ba461574be710a88c4af8625.tar.bz2 passt-700ce1f8750c10b3ba461574be710a88c4af8625.tar.lz passt-700ce1f8750c10b3ba461574be710a88c4af8625.tar.xz passt-700ce1f8750c10b3ba461574be710a88c4af8625.tar.zst passt-700ce1f8750c10b3ba461574be710a88c4af8625.zip |
test/lib/video: Fill in href attributes of video shortcuts
...so that they can be indexed.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/lib')
-rwxr-xr-x | test/lib/video | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/video b/test/lib/video index ec79c85..70a6359 100755 --- a/test/lib/video +++ b/test/lib/video @@ -141,7 +141,7 @@ video_time_now() { video_link() { [ ${VIDEO_LINKS_COUNT} -eq 0 ] && __sep="" || __sep=" |" __id="video_link_${VIDEO_LINKS_COUNT}" - video_append_links "${__sep} <a id=\"${__id}\">${1}</a>" + video_append_links "${__sep} <a id=\"${__id}\" href=\"${1}\">${1}</a>" video_append_links_js "[ '${__id}', $(($(video_time_now) - 1)) ]," VIDEO_LINKS_COUNT=$((VIDEO_LINKS_COUNT + 1)) |