Skip to content

Commit 60e3642

Browse files
erralale-rt
andauthored
Update plone/namedfile/scaling.py
Co-authored-by: Alessandro Pisa <alessandro.pisa@gmail.com>
1 parent 0a6f4e0 commit 60e3642

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plone/namedfile/scaling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ def srcset(
777777
)
778778
attributes = {}
779779
if title is _marker:
780-
attributes["title"] = self.context.Title()
780+
attributes["title"] = self.title
781781
elif title:
782782
attributes["title"] = title
783783
if alt is not _marker:

0 commit comments

Comments
 (0)