Commits

Takafumi Arakaki  committed bf01c06

fixed: `neorg-find-images-image` class should be for `img` tag, it was appended to `a` tag before.

  • Participants
  • Parent commits fe26990

Comments (0)

Files changed (1)

File neorg/wiki.py

                 self.arguments, base_syspath, self.options.get('file')))
 
         def gene_image(relpath):
-            image_node = gene_aimage(path.join(datadirurl, relpath))
-            image_node['classes'].append('neorg-find-images-image')
+            image_node = gene_aimage(
+                path.join(datadirurl, relpath),
+                classes=['neorg-find-images-image'])
             return image_node
 
         node_list = []