Updated

MIAMI, Fla. (AP) — Josh Johnson pitching seven strong innings, and Ronny Paulino drove in two runs to help the Florida Marlins beat the Milwaukee Brewers 3-2 on Thursday night.

Johnson (6-2), the tough-luck loser in his last start when Philadelphia's Roy Halladay pitched a perfect game, finally allowed an earned run, ending his streak at 31 1-3 innings spanning parts of six starts.

The 6-foot-7 right-hander allowed one run, seven hits, and three walks while striking out eight. He threw 75 of his 115 pitches for strikes.

Clay Hensley pitched a scoreless eighth, and Leo Nunez converted his 12th save in 14 opportunities, but not without some excitement. Nunez allowed three straight one-out singles, including one by Ryan Braun that cut the lead to a run. Nunez got Prince Fielder to fly out and struck out Corey Hart to end the game.

Dan Uggla scored two runs and drove in the other run for the Marlins, who took three out of four from the Brewers.

Milwaukee's Chris Capuano (0-1) made his first start in the majors since Sept. 28, 2007, against San Diego. Capuano's long road back from Tommy John surgery got off to a good start, but he ran into trouble in the fourth inning.

With the Marlins leading 1-0 on an RBI double by Paulino in the second, Jorge Cantu and Uggla hit back-to-back doubles to open the fourth. Cody Ross singled and Paulino reached on an error by Rickie Weeks, scoring Uggla. Capuano got the next two batters before walking Chris Coghlan, ending his night. Kameron Loe struck out Gaby Sanchez with the bases loaded to get out of the jam.

Capuano allowed three runs and seven hits in 3 2-3 innings in addition to walking one and throwing two wild pitches. He struck out four.

Weeks hit a sacrifice fly in the seventh after back-to-back base hits by Jonathan Lucroy and Joe Inglett for the Brewers' first run.

NOTES: The Marlins finished 5-5 on their homestand. Coghlan hit .400 (16-of-40) during the stretch, scoring eight runs. ... Capuano went 3-1 with a 1.59 ERA in seven minor league starts. ... Weeks was 4 for 18 with seven strikeouts in the series.