{"id":24069595,"url":"https://github.com/omega-r/omegahtmltaghandler","last_synced_at":"2026-03-04T20:03:57.894Z","repository":{"id":84896877,"uuid":"96331762","full_name":"Omega-R/OmegaHtmlTagHandler","owner":"Omega-R","description":null,"archived":false,"fork":false,"pushed_at":"2017-07-10T12:26:45.000Z","size":137,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-24T06:36:29.397Z","etag":null,"topics":["android","html","library","parser"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Omega-R.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-07-05T15:02:50.000Z","updated_at":"2022-04-17T14:29:16.000Z","dependencies_parsed_at":"2023-03-15T20:00:23.671Z","dependency_job_id":null,"html_url":"https://github.com/Omega-R/OmegaHtmlTagHandler","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Omega-R/OmegaHtmlTagHandler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Omega-R%2FOmegaHtmlTagHandler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Omega-R%2FOmegaHtmlTagHandler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Omega-R%2FOmegaHtmlTagHandler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Omega-R%2FOmegaHtmlTagHandler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Omega-R","download_url":"https://codeload.github.com/Omega-R/OmegaHtmlTagHandler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Omega-R%2FOmegaHtmlTagHandler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30091585,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T19:41:02.502Z","status":"ssl_error","status_checked_at":"2026-03-04T19:40:05.550Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","html","library","parser"],"created_at":"2025-01-09T14:59:08.657Z","updated_at":"2026-03-04T20:03:57.846Z","avatar_url":"https://github.com/Omega-R.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![](https://jitpack.io/v/Omega-R/OmegaHtmlTagHandler.svg)](https://jitpack.io/#Omega-R/OmegaHtmlTagHandler)\n# OmegaHtmlTagHandler\n\nOmegaHtmlTagHandler is handler for html tag, which can load and converts it into Spannable for displaying it.\nIt is a addition for usage of the fromHtml, which can not process all tags\nOmegaHtmlTagHandler allows you control over how tags are rendered. Allows proper handling of tables (support tag: table, tr, th, td)\n\n# HTML\n![examplefrom](https://user-images.githubusercontent.com/14843818/28017778-91bccdac-652f-11e7-918c-18863a5059fb.png)\n\n# Textview\n![exampleto](https://user-images.githubusercontent.com/14843818/28017856-d1b3a5c0-652f-11e7-8411-9239714e0072.png)\n\n# Installation\nTo get a Git project into your build:\n\n**Step 1.** Add the JitPack repository to your build file\n```\nallprojects {\n    repositories {\n        ...\n        maven { url 'https://jitpack.io' }\n    }\n}\n```\n**Step 2.** Add the dependency\n```\ndependencies {\n    compile 'com.github.Omega-R:OmegaHtmlTagHandler:v1.0'\n}\n```\n\n# Usage\nExample of usage\n```\nOmegaHtmlTagHandler handler = new OmegaHtmlTagHandler();\nSpanned spanned;\nif (Build.VERSION.SDK_INT \u003e= Build.VERSION_CODES.N) {\n  spanned = Html.fromHtml(mHtmlTable, Html.FROM_HTML_MODE_LEGACY, null, handler);\n} else {\n  spanned = Html.fromHtml(mHtmlTable, null, handler);\n}\ntextViewHtmlTable.setText(spanned);\n```\nYou also can delete specific spaces in table if needs, and can set type space:\n```\nhandler.deleteSpecificSpaces(true, \"\\\\\\\\n\");\n```\nAnd can set specifies what character will be between the rows of the table:\n```\nhandler.setSymbolsBetweenTableRows(\"\\n\");\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomega-r%2Fomegahtmltaghandler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomega-r%2Fomegahtmltaghandler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomega-r%2Fomegahtmltaghandler/lists"}