File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ export async function extractNews(item, selector) {
3737 ?. nextAll ( 'li' )
3838 . toArray ( )
3939 . map ( ( tag ) => $$ ( tag ) . text ( ) ) ;
40- const description = art ( path . join ( __dirname , ` templates/description.art` ) , {
40+ const description = art ( path . join ( __dirname , ' templates/description.art' ) , {
4141 heading : title ,
4242 articleContent : htmlContent ,
4343 } ) ;
@@ -71,13 +71,13 @@ export async function extractNews(item, selector) {
7171 const mainDiv = $$ ( element ) ;
7272 const title = mainDiv . find ( 'a > div > h2' ) . text ( ) . trim ( ) ;
7373 const htmlContent = extractArticle ( mainDiv . html ( ) , 'div.ck-content' ) ;
74- const description = art ( path . join ( __dirname , ` templates/description-sub.art` ) , {
74+ const description = art ( path . join ( __dirname , ' templates/description-sub.art' ) , {
7575 heading : title ,
7676 articleContent : htmlContent ,
7777 } ) ;
7878 return { description } ;
7979 } ) ;
80- const description = art ( path . join ( __dirname , ` templates/description.art` ) , {
80+ const description = art ( path . join ( __dirname , ' templates/description.art' ) , {
8181 heading,
8282 subItems : items ,
8383 } ) ;
You can’t perform that action at this time.
0 commit comments