protected void processEventBlocks(List<String> eventBlocks) {
		
		if(generateStatistics) {
			for(String block : eventBlocks) {
				statistics.getOriginalMetrics().setInlineEventSize(statistics.getOriginalMetrics().getInlineEventSize() + block.length());
			}
		}
		
		if(removeJavaScriptProtocol) {
			for(int i = 0; i < eventBlocks.size(); i++) {
				eventBlocks.set(i, removeJavaScriptProtocol(eventBlocks.get(i)));
			}
		} else if(generateStatistics) {
			for(String block : eventBlocks) {
				statistics.setPreservedSize(statistics.getPreservedSize() + block.length());
			}
		}
		
		if(generateStatistics) {
			for(String block : eventBlocks) {
				statistics.getCompressedMetrics().setInlineEventSize(statistics.getCompressedMetrics().getInlineEventSize() + block.length());
			}
		}
	}