Skip to content

Commit

Permalink
valid HTML for W3C validator
Browse files Browse the repository at this point in the history
  • Loading branch information
focusaurus committed Jun 26, 2014
1 parent cf197a3 commit 13227dd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions app/photos/viewGallery.jade
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,19 @@ block body
a(data-ng-href="{{previousPhoto.pageURI}}", data-ng-if="previousPhoto") <<previous 
a(data-ng-href="{{nextPhoto.pageURI}}", data-ng-if="nextPhoto") next>>
figure
//- src is to appease the W3C HTML validator
img(
data-ng-src="{{photo.fullSizeURI}}",
src="",
src=gallery.photos[0].fullSizeURI,
alt="{{photo.caption}}",
title="{{photo.caption}}",
)
figcaption {{photo.caption}}
a.thumbnail(data-ng-repeat="photo in gallery.photos", data-ng-href="{{photo.pageURI}}")
//- src="" is to appease the W3C HTML validator
//- src is to appease the W3C HTML validator
img.thumbnail(
data-ng-src="{{photo.thumbnailURI}}",
src="",
src=gallery.photos[0].thumbnailURI,
alt="{{photo.caption}}",
title="{{photo.caption}}"
)
Expand Down

0 comments on commit 13227dd

Please sign in to comment.