#3728 closed enhancement (fixed)
Enable loading of style sheets from file systems
Reported by: | dietmarw | Owned by: | adeas31 |
---|---|---|---|
Priority: | high | Milestone: | 1.9.4 |
Component: | OMEdit | Version: | v1.9.4-dev-nightly |
Keywords: | css | Cc: |
Description
Related to #3311 one thing that is missing now is the loading from style sheets.
Example:
package Q model M annotation(Documentation(info = "<html> <h4>I should be a red heading</h4> </html>")); end M; annotation(Documentation(__OpenModelica_infoHeader=" <link href=\"modelica://Q/style.css\" rel=\"stylesheet\" type=\"text/css\"> ")); end Q;
with style.css:
h4 { color : red }
Currently the modelica:// URI is not correctly converted. Output on my machine for Q.M is:
<html> <head> <link href="modelica:///Q/style.css" rel="stylesheet" type="text/css"> </head> <body> <h2>Q.M</h2><p style="font-size:12px;"><strong><u>Information</u></strong></p> <h4>I should be a red heading</h4> </body> </html>
Change History (4)
comment:1 Changed 8 years ago by adeas31
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 8 years ago by dietmarw
Confirmed. Thanks.
comment:3 Changed 8 years ago by sjoelund.se
- Milestone changed from 1.9.4 to 1.9.4-1.9.x
Milestone renamed
comment:4 Changed 8 years ago by sjoelund.se
- Milestone changed from 1.9.4-1.9.x to 1.9.4
Milestone renamed
Note: See
TracTickets for help on using
tickets.
Done in 608efb7/OMEdit.