veskuh/Tweetian — pull request #101 by Morpog (2014-02-23 13:15:41+00:00)
Title: Link style changed

Removed italic and added underline to URL links. and changed color of URL
link slightly. I also tried to change link URL and #/@ link colors to theme colors, but I failed at importing silica theme. As soon as I try something like:

.pragma library
.import Sailfish.Silica.Theme 1.0 as SilicaTheme

Qt.include("Calculations.js")

function linkText(text, href, italic) {
var html = "";
var color_link = SilicaTheme.primaryColor;
if (italic) html = "%2";
else html = "%2";

return html.arg(href).arg(text);
}

I get an non functioning parsing with this error:
[W] unknown:133 - qrc:/qml/tweetian-harmattan/WorkerScript/TweetsParser.js:133: ReferenceError: parseTweet is not defined

Maybe someone else with more coding skills can do a follow up.