Help with web browser

Ok so im making a web browser in gmod because i want to put one on my server since the steam in game browser sucks terribly and ive run into a problem. i want to save history and have a list to show it so this is the code i wrote for it:

HistoryPanel = vgui.Create( "DFrame", HTMLTest )
HistoryPanel:SetSize( HTMLTest:GetWide() / 5, HTMLTest:GetTall() / 1 )
HistoryPanel:SetPos( 0, 0 )
HistoryPanel:SetTitle( "History" )
HistoryPanel:ShowCloseButton( true )
HistoryPanel:SetVisible( true )

HistoryList = vgui.Create( "DListView", HistoryPanel )
HistoryList:SetPos( 0, 40 )
HistoryList:SetSize( HistoryPanel:GetWide(), HistoryPanel:GetTall() - 40 )
HistoryList:SetMultiSelect( true )
HistoryList:SetVisible( true )
for k, v in pairs( history ) do
	HistoryList:AddLine( v )

But whenever i open the panel to view my history the text doesnt show up. i can click on the line and it highlights it, but there is no text. if anyone could help that would be great.