From 713ab4ab167d56e61512e179a7a55b4e64bf7c26 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sat, 2 Jul 2022 00:44:46 +0800 Subject: make the SD-20 post public. --- blog/post/2019-04-25.html | 3 +++ 1 file changed, 3 insertions(+) (limited to 'blog/post/2019-04-25.html') diff --git a/blog/post/2019-04-25.html b/blog/post/2019-04-25.html index 46be210..8d9a13a 100644 --- a/blog/post/2019-04-25.html +++ b/blog/post/2019-04-25.html @@ -77,6 +77,9 @@ for(let x of cl) a.setAttribute('x',n-1); a.innerHTML='show'; a.href='javascript:void(0)'; + if (dd.hasAttribute('caption')) + b.innerHTML=dd.getAttribute('caption'); + else b.innerHTML=dd.getAttribute('data-caption'); s.appendChild(b); s.appendChild(document.createTextNode(' [')); -- cgit v1.2.3