Navigation Menu

Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
limiaolong committed Jul 9, 2015
1 parent c8bba32 commit 7163038
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/com/childoftv/xlsxreader/Worksheet.as
Expand Up @@ -206,15 +206,13 @@ package com.childoftv.xlsxreader
{
var content:String = "";
var html_content:String = "";
if (item.@t == "str")
{
content = fileLink.sharedString(item.v.toString(), item.s.toString());
html_content = fileLink.sharedString(item.v.toString(), item.s.toString(), true);
}
if (item.@t == "s")
if (item.@t == "str" || item.@t=="s")
{
content = fileLink.sharedString(item.v.toString(), item.s.toString());
html_content = fileLink.sharedString(item.v.toString(), item.s.toString(), true);
}else{
content = item.v.toString();
html_content = item.v.toString();
}
item.v = content;
item.htmlText = html_content;
Expand Down

0 comments on commit 7163038

Please sign in to comment.