Commit 79a56edbc0cb4af4db47d214427af12715334096
1 parent
953f2596
Bug on text() html tag : couldn't add an id.
Showing
1 changed file
with
6 additions
and
2 deletions
Show diff stats
calexium_lib/web/CXM_making_a_web_site.anubis
| ... | ... | @@ -2819,7 +2819,9 @@ define List(Text_Option) |
| 2819 | 2819 | { |
| 2820 | 2820 | [] then [], |
| 2821 | 2821 | [h . t ] then |
| 2822 | - if h is class(class) then | |
| 2822 | + if h is class(_) then | |
| 2823 | + get_text_options(t) | |
| 2824 | + else if h is id(_) then | |
| 2823 | 2825 | get_text_options(t) |
| 2824 | 2826 | else |
| 2825 | 2827 | [ h . get_text_options(t) ] |
| ... | ... | @@ -2841,7 +2843,9 @@ define List(Text_Option) |
| 2841 | 2843 | [h . t ] then |
| 2842 | 2844 | |
| 2843 | 2845 | |
| 2844 | - if h is class(class) then | |
| 2846 | + if h is class(_) then | |
| 2847 | + [ h . get_css_class(t) ] | |
| 2848 | + else if h is id(_) then | |
| 2845 | 2849 | [ h . get_css_class(t) ] |
| 2846 | 2850 | else |
| 2847 | 2851 | get_css_class(t) | ... | ... |