def truncate_html(hindiTxt, limit):
    trunc = ryw_view.truncate_string2(hindiTxt, limit)
    head,tail = trunc
    resultStr = html(head)
    if tail:
        resultStr += tail
    return resultStr
def truncate_size3_html(hindiTxt, limit):
    trunc = ryw_view.truncate_string2(hindiTxt, limit)
    head,tail = trunc
    resultStr = size3_html(head)
    if tail:
        resultStr += '<FONT SIZE=3>' + tail + '</FONT>'
    return resultStr