Page MenuHomePhabricator

Misunderstood code in a timeline bar when using percentage values
Closed, DuplicatePublic

Description

We are getting an unexpected error with the code of the following graphic
https://gl.wikipedia.org/wiki/Elecci%C3%B3ns_municipais_en_Pontedeume#Participaci.C3.B3n

This is the error message:

EasyTimeline 1.90


Timeline generation failed: 1 error found
Line 29: from:76 till:100 color:Abs text:Abs(24%)

- Unknown constant. 'Define $25 = ... ' expected.

It is apparently caused due to the 24% part. I have found a workaround changing the number 4 by its decimal HTML code 4.

Moreover, when the % is removed the error message slightly changes to (I don't know if this is important):

- Unknown constant. 'Define $29 = ... ' expected.

Event Timeline

Tolino raised the priority of this task from to Needs Triage.
Tolino updated the task description. (Show Details)
Tolino added a project: EasyTimeline.
Tolino subscribed.
Aklapper renamed this task from Misunderstood code in a timeline bar to Misunderstood code in a timeline bar when using percentage values.Jun 23 2015, 12:03 PM
Aklapper set Security to None.
hashar moved this task from Backlog to Defects and bugs on the EasyTimeline board.

not only (24%), but also (24) causes this problem.