3 function RunningInNode () {
5 (typeof require
) == "function"
7 (typeof exports
) == "object"
9 (typeof module
) == "object"
11 (typeof __filename
) == "string"
13 (typeof __dirname
) == "string"
17 if (!RunningInNode()) {
18 if (!this.Tautologistics
)
19 this.Tautologistics
= {};
20 if (!this.Tautologistics
.NodeHtmlParser
)
21 this.Tautologistics
.NodeHtmlParser
= {};
22 if (!this.Tautologistics
.NodeHtmlParser
.Tests
)
23 this.Tautologistics
.NodeHtmlParser
.Tests
= [];
25 this.Tautologistics
.NodeHtmlParser
.Tests
.push(exports
);
28 exports
.name
= "Unquoted attributes";
29 exports
.html
= "<font size= 14>the text</font>";
31 [ { raw
: 'font size= 14'
32 , data
: 'font size= 14'
35 , attribs
: { size
: '14' }