diff --git a/ccp/js/methodlistcontroller2.js b/ccp/js/methodlistcontroller2.js index aace1f3..b60c8bf 100644 --- a/ccp/js/methodlistcontroller2.js +++ b/ccp/js/methodlistcontroller2.js @@ -83,7 +83,7 @@ class CCPMethodList2 extends HTMLElement{ @@ -338,6 +341,11 @@ class CCPMethodList2 extends HTMLElement{ "in" : (e,d)=>d.keywords, apply : (e,d)=>{ e.alt = e.title = e.textContent = d } }, + { + target : "span[name=context]", + "in" : (e,d)=>d.metadata.filter(md=>md.role === "context"), + apply : (e,d)=>{ e.alt = e.title = e.textContent = d.title.replaceAll("%2F", "/") } + }, { target : "p[name=description]", apply : (e,d)=>{ e.textContent = d.description }