Logo white

webapp / GreenwayWeb

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • GreenwayWeb
  • ceres-uniapp-master
  • uview-ui
  • components
  • u-parse
  • libs
  • handler.wxs
  • '初始'
    3f535f30
    杨鑫 authored
    2024-11-19 14:29:41 +0800  
    Browse Code »
handler.wxs 300 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
var inline = {
	abbr: 1,
	b: 1,
	big: 1,
	code: 1,
	del: 1,
	em: 1,
	i: 1,
	ins: 1,
	label: 1,
	q: 1,
	small: 1,
	span: 1,
	strong: 1,
	sub: 1,
	sup: 1
}
module.exports = {
	use: function(item) {
		return !item.c && !inline[item.name] && (item.attrs.style || '').indexOf('display:inline') == -1
	}
}