VonC
|
f92f2fdea6
|
Add unit-tests for attributes in mardown elements.
Test paragraphs, list items and img attributes.
|
2013-10-27 22:49:44 +01:00 |
|
VonC
|
a87ce95794
|
Add 'data-element-attributes' attr. to 'section'.
By default '{\\\.\s*?([^}]+?)}'.
|
2013-10-27 22:49:43 +01:00 |
|
VonC
|
7aa93af0ca
|
Cleanup code, remove console log debugs.
|
2013-10-27 22:49:43 +01:00 |
|
VonC
|
28198b2ff0
|
Add attributes extracted from an attribute.
Allows to add attributes to element of an attribute which contains
the attribute pattern.
|
2013-10-27 22:49:42 +01:00 |
|
VonC
|
d20760f40d
|
Uses the right method setAttribute.
Works better, and the html elements get their attributes.
|
2013-10-27 22:49:42 +01:00 |
|
VonC
|
0bc3a836fc
|
First implem for adding classes to enclosing elts.
Extra text representing classes is detected and correctly removed.
Adding attributes isn't working yet.
|
2013-10-27 22:49:41 +01:00 |
|