projects
/
booh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd6bcf2
)
make sure LF are properly quoted in fullscreen javascript comments
author
Guillaume Cottenceau
<gcottenc@gmail.com>
Tue, 13 Oct 2009 11:41:28 +0000
(13:41 +0200)
committer
Guillaume Cottenceau
<gcottenc@gmail.com>
Tue, 13 Oct 2009 11:41:28 +0000
(13:41 +0200)
bin/booh-backend
patch
|
blob
|
history
diff --git
a/bin/booh-backend
b/bin/booh-backend
index
8d1dc4f
..
99ae100
100644
(file)
--- a/
bin/booh-backend
+++ b/
bin/booh-backend
@@
-1270,7
+1270,7
@@
def walk_source_dir
#- generate image.html (page with fullscreen images)
if images.size > 0
- captions4js = find_captions(xmldir, images).collect { |e| e ? '"' +
e.gsub('"', '\"'
) + '"' : '""' }.join(', ')
+ captions4js = find_captions(xmldir, images).collect { |e| e ? '"' +
quote_caption(e, true
) + '"' : '""' }.join(', ')
thumbnailspage4js = image2thumbnailpage4js.collect { |e| "\"#{e}\"" }.join(', ')
for sizeobj in $images_size
html = $html_images.collect { |l| l.clone }