OS: Windows 11 25H2 64bit
I did some custom formatting in the Info pane of View tab, encountered a minor issue regarding nested parentheses. Here's a screenshot:
Look at line 3, the focal length block has an extra right parenthesis. Here's the specific part's code:
Code: Select all
<span style="background-color: darkgoldenrod;">{EXIF:Focal Length}mm((({EXIF:Focal Length 35mm})))</span>In fact, the code works when the 35mm-equiv FL field is non-empty, as shown here:
I think this is caused by wrongly parsing nested parentheses. Double parens got parsing priority so the code is interpreted as
Code: Select all
((, (, {field}, )), )Code: Select all
((, (, {field}, ), ))I'll attach the full code here as well, in case this is caused by something else:
Code: Select all
{File Index}: {Filename}
<span style="background-color: darkcyan;">{EXIF:Date Taken [Y/m/d H:M:S]}</span> <span style="background-color: darkcyan;">{Width}×{Height}</span> <span style="background-color: darkcyan;">{Size}</span> <span style="background-color: darkcyan;">{File Type}</span>
<span style="background-color: darkgoldenrod;">{EXIF:Focal Length}mm((({EXIF:Focal Length 35mm})))</span> <span style="background-color: darkgoldenrod;">f/{EXIF:F-Number}</span> <span style="background-color: darkgoldenrod;">{EXIF:Exposure Time}s</span> <span style="background-color: darkgoldenrod;">ISO{EXIF:ISO Value}</span> <span style="background-color: darkgoldenrod;">{EXIF:Exposure Bias}eV</span>
<span style="background-color: darkslateblue;">{EXIF:Metering Mode}</span> <span style="background-color: darkslateblue;">{EXIF:Exposure Program}</span>
<span style="background-color: darkslategrey;">{EXIF:Model}</span> <span style="background-color: darkslategrey;">{EXIF:Lens Model}</span>
{Zoom}%
(({Tag status})) (({Rating})) (({Color label}))