-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #96 from SWTI2014/parsing/html-entities
- Loading branch information
Showing
14 changed files
with
30 additions
and
10 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
...L.package/DHtmlFormatterTest.class/instance/test07HtmlEntitiesShouldBeParsedEverywhere.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
testing | ||
test07HtmlEntitiesShouldBeParsedEverywhere | ||
| document | | ||
document := HtmlDocument new. | ||
document parseContents: | ||
(ReadStream on: '<title>Test ä, ö and ü</title>', | ||
'<img src=''http://'' alt=''ø nothing''> </img>'). | ||
self assert: '<title>Test ä, ö and ü</title>' equals: document children first asString. | ||
self assert: 'http://' equals: document children second src. | ||
self assert: 'ø nothing' equals: document children second alt. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/HTML.package/HtmlCDATANode.class/instance/innerContents.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
accessing | ||
innerContents | ||
|
||
^self rawContent asUnHtml | ||
^self rawContent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
packages/HTML.package/HtmlTITLENode.class/instance/innerContents.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
innerContents | ||
|
||
^self rawContent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,5 @@ | |
"class" : { | ||
}, | ||
"instance" : { | ||
"innerContents" : "SS 6/5/2014 11:33", | ||
"tag" : "" } } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
395d3b09-0758-43c6-b996-b0bde1577d11 | ||
429e44ef-e21e-4f8a-9b16-0d1f975279c6 |
1 change: 1 addition & 0 deletions
1
...es/HTML.package/monticello.meta/version.d/HTML-SS.73_265cd527-7860-4ed2-9ef0-84086c072947
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...es/HTML.package/monticello.meta/version.d/HTML-SS.74_429e44ef-e21e-4f8a-9b16-0d1f975279c6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters