mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-11-04 09:42:42 +01:00 
			
		
		
		
	fix(network): dont escape essid in tooltip
Like #1256 , but escape by calling `set_tooltip_markup()`, because the label text uses `set_markup()`.
This commit is contained in:
		@@ -383,10 +383,10 @@ auto waybar::modules::Network::update() -> void {
 | 
			
		||||
          fmt::arg("bandwidthTotalBytes",
 | 
			
		||||
                   pow_format((bandwidth_up + bandwidth_down) / interval_.count(), "B/s")));
 | 
			
		||||
      if (label_.get_tooltip_text() != tooltip_text) {
 | 
			
		||||
        label_.set_tooltip_text(tooltip_text);
 | 
			
		||||
        label_.set_tooltip_markup(tooltip_text);
 | 
			
		||||
      }
 | 
			
		||||
    } else if (label_.get_tooltip_text() != text) {
 | 
			
		||||
      label_.set_tooltip_text(text);
 | 
			
		||||
      label_.set_tooltip_markup(text);
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user